Computing: Website and Database Programming

Simple Nim.


Nim is a game for two players. This application is a simplified version of the original game. The players are in front of a given number of matches. At each turn, one of the players has to take away 1, 2 or 3 matches. The one, who takes the last match, wins or looses (depending on the selection done).
With this application, a human player plays against the computer. Choose the total number of matches and set the other game options. Push the Start button to begin. If the computer has to begin, it makes its move. Now it's your turn. Enter the number of matches that you want to remove and push the Play button. The computer moves automatically after you have done so.
 
Initial number of matches (10 - 30)  Last match wins Player begins Computer strength:
  Last match looses Computer begins
 
First match First match First match First match First match First match First match First match First match First match First match First match First match First match First match
 
Matches  Player takes  Computer takes  Remaining 
 
 
 
Back to "Simple Nim" page...