文件名称:clear
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.57kb
-
已下载:2次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
清除数字游戏:计算机生成一个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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.