Skip to content

conudihedral4/nim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nim

A game of subtraction. Learn more about the math behind the game on Wikipedia.

Created for ConUHacks IV from 26-27 January 2019. See our Devpost submission.

We also created a browser port, which you can find at this repository.

Usage

Open the file nim.pde in a Processing window and run the sketch.

menu-screen

Before starting the game, you may wish to change the difficulty or toggle game modes. Do so by clicking the various options on the main menu.

How to play

game-screen

Every turn, you may remove any number of donuts you wish from any one row of the board. Click on the donuts to remove them and click on the CONFIRM button to end your turn. In normal mode, the goal of the game is to click the last donut, while in misère mode, the goal of the game is to not click the last donut.

Authors

Programmed with care by Rosie Zhao, Ran Tao, Yao Liu, and Marcel Goh of McGill University.

Music: Composed by F. F. Chopin (1810-1849) and arranged using PICO-8.

Made with Processing.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •