Description: Nim game is to take the child by two people face a number of heap of coins (or stones) in a game. With k> 1 stack of coins, each stack containing respectively N1, N2, ...... NK coins. The purpose of the game is to choose the last remaining coins. Rules of the game are as follows: 1. Game two people alternately games (games and people who I II) 2. When it came time to take each game one at midnight, choose a bunch of these heap, and remove at least one coin the selected stack (one can take his game all the selected coin stack) 3. When all have become empty heap heap, the final game to take the child who is the winner.
To Search:
File list (Check if you may need any files):
NIMJ\NIM.pro
....\NIM.pro.user
....\instruction_book.txt
....\main.cpp
....\mainwindow.cpp
....\mainwindow.h
....\mainwindow.ui
NIMJ