Play
Nim against your computer!
In one
move, you can remove any number of matches but only from one row.
Select any 'Row button' and click it to REMOVE matches. After each
move click 'PC move' to make the computer play. You win if you leave
the LAST match for the computer.
Who Moves First
At the start of a game, you have the first move, unless you allow the
computer to play first by pressing the 'PC move' button.
Why the computer
beats you repeatedly at Nim game...
You can
copy the javascript program of this Nim game...
Feel free to modify or improve it! We would appreciate receiving
any comments or
suggestions concerning this script.
|