Commit graph

55 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
58f97f517a Really implement the simple strategy from hinversi.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13757 a1c6a512-1295-4272-9138-f99709370657
2007-07-01 18:06: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
Antoine Cellerier
fd6a9278e8 Fix X5/M5 compilation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13746 a1c6a512-1295-4272-9138-f99709370657
2007-06-30 20:14:53 +00:00
Antoine Cellerier
b4b34f0c07 FS #6509 - "Plugin for playing reversi game" by Alexander Levin + changes by me to make it compile due to the menu api change and compile for e200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13745 a1c6a512-1295-4272-9138-f99709370657
2007-06-30 20:04:42 +00:00