The Game of Nim
Rules: The game board consists of rows of matches. The
players take turns removing any number of matches from
a single row. On your turn, just hold the mouse button
down, move through the matches that you want to remove,
and then release the mouse button. If you change rows
or move outside the game area, you will have to repeat your move.
To see the program's move, click anywhere in the game area.
The last player to move wins the game.
Play as often as you like. Most of the time, you will have
the advantage on your first move.
Click here for the mathematical secret
of Nim.
This page is maintained by: Robert F. Rossa who can be reached at
rossa@csm.astate.edu
Last revised on: 03/27/96
Return to Computer Science and Mathematics page
Return to
the ASU Home Page