easyAI icon indicating copy to clipboard operation
easyAI copied to clipboard

unmake_move for Awele

Open Shamba-gpu opened this issue 4 years ago • 3 comments

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

Shamba-gpu avatar May 02 '20 02:05 Shamba-gpu

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 avatar May 13 '20 19:05 JohnAD

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.)

JohnAD avatar May 13 '20 19:05 JohnAD

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.

Shamba-gpu avatar May 23 '20 15:05 Shamba-gpu