Game of Nim
Nim game is a very famous game. There is
a certain number of boxes Each player on his
turn can take one or two boxes from the
remaining boxes. The one who takes the last
box loses the game.
This is a famous puzzle game, but it is
not that hard! actually, it is easy to prove
which player wins by knowing just the number
of initial boxes.
The more interesting
variation of Nim is the enhanced version, which
takes the game a step ahead. In the enhanced
version, each box can have a certain bonus.
Some boxes have question marks that can do
unexpected things. You try to maximize your
score, while avoiding taking the last box
(the one with the skull). You can play
against the computer, or against a friend.
In this case, the
skull cuts your score in half. The
star doubles your score. The question
mark can do a variety of things.
Shuffling the pieces, making a skull appear,
giving you the ability to take 3 boxes, or
give you a pass ticket (you can pass once if
you don't want to play), and so on... (there
are several other things)
Here are some links about
the NIM game in general, if you want
to know more:
http://home.pacbell.net/fransg/nim.htm
(The origins, and some explanation for NIM)
http://www.cut-the-knot.org/nim_st.shtml
(another variation of NIM, that you can play
online)