火柴的游戏
Assignment 1Context
The game of Nim is a simple game played between two (2) players. Twenty one
(21) matches are arranged into positions on a triangular grid of locations. Each
player takes turns removing either one (1), two (2), or three (3) matches from a
location on the grid. The player that removes the last match loses.
An example implementation of the Nim game is the following:
The application of this game to computing is the design of a program that
allows a human to play against the computer.
以上的是要求 ,请高手帮帮忙 急需 先在这里谢谢了