Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to play against the computer #8

Open
MatrixFrog opened this issue Sep 7, 2010 · 2 comments
Open

No way to play against the computer #8

MatrixFrog opened this issue Sep 7, 2010 · 2 comments

Comments

@MatrixFrog
Copy link
Owner

It would be good if there was an AI so that you could play this without having a friend nearby. This is the most-mentioned thing in the Android Market comments so it's definitely worth doing.

@MatrixFrog
Copy link
Owner Author

A simple AI might look like this, for the typical case where moves are restricted to a single mini grid:

switch (number of legal moves) {
case 1:
   take the only move
case 2:
case 3:
   examine who wins the minigrid, for all possible outcomes for this minigrid.
   pick the move that is most likely to lead to winning the minigrid (assuming all outcomes equally likely)
default:
   pick a move at random
}

I'm sure someone who knows something about AI could do much better.

@MatrixFrog
Copy link
Owner Author

I've added a framework for the AI, to make it easy for someone to write an AI if they want to. See https://github.com/MatrixFrog/scribedroid/wiki/WritingAScribeAI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant