Commit graph

2 commits

Author SHA1 Message Date
Antoine Cellerier
cd82964e5d Make sure that reversi doesn't enter an infinite loop when using 1 or 2 AIs.
+ some changes that will be needed for more advanced AIs (which aren't ready to commit yet)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13758 a1c6a512-1295-4272-9138-f99709370657
2007-07-01 20:48:51 +00:00
Antoine Cellerier
9af4289770 Implement 2 simple AIs for reversi:
* naive: plays random moves
 * simple: plays highest score move (Even though it's named simple i can't beat it :/)
More AIs are yet to come (I'll be using those in hinversi).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13755 a1c6a512-1295-4272-9138-f99709370657
2007-07-01 17:51:38 +00:00