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

unmake_move for Awele #43

Open
Shamba-gpu opened this issue May 2, 2020 · 3 comments
Open

unmake_move for Awele #43

Shamba-gpu opened this issue May 2, 2020 · 3 comments

Comments

@Shamba-gpu
Copy link

I suspect it's impossible to write unmake_move function for Awele, isn't it?

@JohnAD
Copy link
Collaborator

JohnAD commented May 13, 2020

It should be possible. The game class might need the history (list) of seeds collected for each ply so that you have the needed context of previous moves. (aka self.seeds_taken)

I'm not entirely sure if that would speed up the game in Oware (Awele). You would want to run performance tests.

@JohnAD
Copy link
Collaborator

JohnAD commented May 13, 2020

I wrote a similar game for Kalah version of Mancala, and I found deriving short-view "tactical" scoring for judging a turn helped make the AI much smarter at the same depth. For Oware, there is a book by David Chamberlin called "How to Play Warri" that dives into the details of short term play.

(disclaimer: I'm coincidentally involved with David's book as the publisher.)

@Shamba-gpu
Copy link
Author

I wrote a similar game for Kalah version of Mancala, and I found deriving short-view "tactical" scoring for judging a turn helped make the AI much smarter at the same depth. For Oware, there is a book by David Chamberlin called "How to Play Warri" that dives into the details of short term play.

(disclaimer: I'm coincidentally involved with David's book as the publisher.)

John, I saw your project of Mancala, and it looks great. I highly recommend you to look at togyz kumalak/toguz korgool game as well.

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

No branches or pull requests

2 participants