This is a javascript implementation of the mathematical strategy game Nim, where you play against the computer. The styling was influenced by Nrich's resource Drips.
The game board consists of counters arranged into columns. You take it in turns with the computer to remove as many counters as you like from a single column. The aim of the game is to remove the last counter.
To run this program go to http://static-sites.rachelbarrett.co.uk/js/nim/. Alternatively, run it locally by cloning this repository and opening nim.html
in a browser.