nim5

by cs105
  scripts
  sprites
See inside
Notes and Credits

A circuit wired to play the game of Nim, starting with 5 objects. Click on the switch labled "takeOne1" to remove one object in the first round, "takeTwo1" to remove two objects in the first round. In response to the computer's move (visible in the lightbulb that turns on), you can "takeOne2" or "takeTwo2" in the second round. Either the computer ("C-Win") or you ("U-win") wins after two rounds.

Shared: 10 Sep 2007 Modified: 10 Sep 2007
Favorite this project 3
Love this project 1
Total views 429
View the remix tree  1
  
More projects by cs105