NIM Game



Here's a neat game submitted by Henri Gourvest. The concept is simple: playing against the computer, remove matches in any available quantity from any row in an attempt to make the computer make the last move. Seems simple enough...

Give it a try below. See the bottom of the page for the link to grab the source.

NIM Demo

     
     
     
     


          

Rules of the game:

  • You play against the program, removing all the match(es) you want to, on 1 line at a time.
  • You must play in a way that the program will be obliged to take the last one.
  • First choose the line by checking on a radio button and click on a number to remove match(es).
  • Automatically the program will play its turn
  • etc ...
1