HTML and JavaScript for Four Pile Nim © Copyright 2004 by James Larson
Four Pile Nim

How to play Four Pile Nim

This game is played with piles of matches, but this implimentation uses checkmarks instead. The object is to take the last match (or checkmark, as the case may be). Each player takes turns removing up to as many checks from a "pile," or in this case, row, as are left in the pile. To do so, merely click on the first checkmark you want taken away.

The computer will randomly pick three of the four starting pile sizes for each game. You then get to set the number of matches in the last empty pile by clicking on the checkbox of the number you want in the pile. After that, you will get the first move. Play continues until all the checkmarks are gone.

To begin a new game, merely click on the

Visitor #

This classic computer game has been written and distributed by

James Larson
Programmer/Analyst Consultant
E-mail address
In God We Trust...