Nim Game against Computer
From an article in Wikipedia,
In another game which is commonly known as Nim (but is better called the subtraction game), an upper bound is imposed on the number of objects that can be removed in a turn. Instead of removing arbitrarily many objects, a player can only remove 1 or 2 or … or k at a time. The player taking the last object wins.
How to Play
In this game, we’ll slightly change the rule to get a certain number of stones. Now you can only grab as many stones as the number written inside colored circles.
- Drag and highlight the stones that you would like to remove.
- Click the
Take
button. - Win the game against the computer.