Hexapawn: Difference between revisions
Content added Content deleted
(Created page with "{{draft task|Games}}Implement Martin Gardner’s game [http://en.wikipedia.org/wiki/Hexapawn Hexapawn] so that one can play against the computer. Hexapawn is played on a 3 x 3...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{draft task|Games}}Implement Martin Gardner’s game [http://en.wikipedia.org/wiki/Hexapawn Hexapawn] so that one can play against the computer. |
{{draft task|Games}}Implement Martin Gardner’s game [http://en.wikipedia.org/wiki/Hexapawn Hexapawn] so that one can play against the computer. |
||
Hexapawn is played on a 3 x 3 square board. The near rank contains your three pawns, and the far rank contains those of the computer |
Hexapawn is played on a 3 x 3 square board. The near rank contains your three pawns, and the far rank contains those of the computer. |
||
It should “memorize” good moves and discard bad ones, after enough rounds, it will have learned from its mistakes and will become unbeatable. |
|||
[http://cs.williams.edu/~freund/cs136-073/GardnerHexapawn.pdf Description]. |
[http://cs.williams.edu/~freund/cs136-073/GardnerHexapawn.pdf Description]. |
||
Line 6: | Line 8: | ||
Extras: |
Extras: |
||
* Make the board size variable |
* Make the board size variable. The player should decide it |
||
* It would be cool to have a trainer, so you don’t need to |
* It would be cool to have a trainer, so you don’t need to keep playing until the computer learns it |
Revision as of 10:56, 5 June 2015
Hexapawn is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.
Implement Martin Gardner’s game Hexapawn so that one can play against the computer.
Hexapawn is played on a 3 x 3 square board. The near rank contains your three pawns, and the far rank contains those of the computer.
It should “memorize” good moves and discard bad ones, after enough rounds, it will have learned from its mistakes and will become unbeatable.
Extras:
- Make the board size variable. The player should decide it
- It would be cool to have a trainer, so you don’t need to keep playing until the computer learns it