Computing: Website and Database Programming

Marienbad.


The Marienbad game is a variant of the classic Nim game. For details about rules of the game and this web application, please, have a look at the "Marienbad" game page.
With this application, a human player plays against the computer. Choose the game variant (Nim play or Misere play), the player who moves first and the computer strength. 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 in the text field at the right of the row from which you want to take them and push the Play button. The computer moves automatically after you have done so.
 
Nim play: Last match wins Computer begins Computer strength:  
Misere play: Last match looses Player begins   Computer:   Player:  
 
  Match        
  Match Match Match        
  Match Match Match Match Match        
Match Match Match Match Match Match Match