Skip to content

A javascript implementation of the mathematical strategy game Nim

Notifications You must be signed in to change notification settings

rachel-barrett/nim-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A javascript implementation of the mathematical strategy game Nim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published