Log In  


Cart #nimgame-2 | 2023-10-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2


This is a simple PICO-8 implementation of the classic game Nim.

Controls

On your first turn, press the O button to let the computer go first.
Use the arrow keys to select matchsticks and O to remove them.

Rules

On your turn, remove any number of matchsticks from one row. The player who removes the last matchstick loses.

Changelog

1.1:

  • Fixed bug where AI would skip turn in a specific losing position
  • Added delay to AI's move for clarity

1.2:

  • Fixed bug where game would freeze at victory screen
2



[Please log in to post a comment]