Welcome to the Great and Powerful Dr. Nim. To start playing, click the green flag. You may look below to see the instructions, but they are also in the game. -= Instructions =- You have the choice of taking one, two, or three of the twelve marbles. After you take your turn, the Great and Powerful Dr. NIm takes his turn. He will also take either one, two, or three marbles. The first one to take the last marble wins. Try to beat Dr. Nim! He's a world champion! :)
I give credits to the idea of this project and how to win it to Matt Parker from Stand-Up Maths. You can also select the number of marbles you want to remove by pressing the number key on the keyboard (e.g. press 1 on the keyboard to remove one marble).