文件名称:clear
介绍说明--下载内容均来自于网络,请自行研究使用
清除数字游戏:计算机生成一个1-100范围内的5×5的二维数组
游戏开始时,计算机给出一个数字a,由玩家从该二维数组中选择两个数字
如果两者之和为a,则将这两个数字清除(相应数组元素置0)
然后计算机再给出一个数字b,由玩家再次从剩下的数组中选择两个数字
看是否能清除,依次进行直到数组中所有数字被清除,最后计算机显示游戏时间。-Clear numbers game: a computer-generated 1-100 within the scope of 5 × 5 games to start the two-dimensional array, the computer is given a number a, by players from the two-dimensional array to choose between the two figures and if a will be clear, these two figures (array elements corresponding to 0) and then the computer and then give a number of b, by the players once again from the rest of the array to choose the two figures to see if able to remove, then carry out all the figures until the array was Clear, the last time the computer display the game.
游戏开始时,计算机给出一个数字a,由玩家从该二维数组中选择两个数字
如果两者之和为a,则将这两个数字清除(相应数组元素置0)
然后计算机再给出一个数字b,由玩家再次从剩下的数组中选择两个数字
看是否能清除,依次进行直到数组中所有数字被清除,最后计算机显示游戏时间。-Clear numbers game: a computer-generated 1-100 within the scope of 5 × 5 games to start the two-dimensional array, the computer is given a number a, by players from the two-dimensional array to choose between the two figures and if a will be clear, these two figures (array elements corresponding to 0) and then the computer and then give a number of b, by the players once again from the rest of the array to choose the two figures to see if able to remove, then carry out all the figures until the array was Clear, the last time the computer display the game.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
clear.cpp