frimjon/gametheory — Issue #1: Generalize game implementation to make it easy to create other games
Author: frimjon
Created: 2012-01-23 23:22:09+00:00
State: open

It's nice to have Nim, but in order to be easily able to create other games, it would be nice to have classes that share the common properties for games.

Impartial Combinatorial Games
===

* Players: 2.
* Play pattern: Players alternate moving.
* Number of positions: Finite. (Usually, but we'll cheat.)
* Play rules: Misére or normal.
* Some things to think about although they may not change the implementation:
* Perfect information. (Consider how other games will support imperfect information.)
* Impartial. (Consider how other games will support partisanship.)