Commit Graph

6 Commits

Author SHA1 Message Date
Woody Folsom
3ba0db6ebd All MoveGenerators default to 1 move lookahead.
Made MoveGenerators protected for unit testing.
Added unit test for some analysis of MoveGenerator speeds.
Fixed MDP to consider all states where #turns = maxTurns terminal.
2012-05-01 22:24:02 -04:00
Woody Folsom
f4ed883d63 Removed references to log4j. 2012-04-30 19:40:43 -04:00
Marshall
e012f17b33 - Changed the rules. Now tiles can only be placed next to existing tiles. Unless the board is empty. 2012-04-29 17:11:11 -04:00
Woody Folsom
21e5d89447 Implemented naive Monte Carlo move generator (simulates 10 random moves for 3 turns by each player).
Consequently, it performs strictly worse than Alpha-Beta, but usually avoids setting players up for an easy capture,
unlike Alpha-Beta.
2012-04-29 14:59:25 -04:00
Woody Folsom
744ceb02f7 Fixed index out of bounds.
Implemented CellPointer equals, hashcode.
2012-04-29 13:40:27 -04:00
Marshall
a6af6df132 - Reorganized packages so that the computer agents are inside the model package.
- Added support for the player model inside Referee.java; high scores should now persist over a single execution of the program.
- Refactored PlayerModel.java to support game logging. All games are now logged so that we can track overall progress.
- Added scaffolding to allow saving and importing of PlayerModel.java. It is not yet functional, but it will be with two function implementations and then the appropriate calls.
2012-04-28 19:18:28 -04:00