Loading…
The game of Nim against an artificial intelligence you have to beat.
A two-player game where matches are removed from a pyramid; whoever takes the last one loses. The program plays against the user, and the real subject is not the display but the strategy: there is a mathematical theory of this game that lets you win for certain as soon as you are in a favourable position.
Terminal game of Nim with a matchstick pyramid display, move validation and an AI based on the Nim sum.
READING SOURCE…