文件名称:5130309630_1
介绍说明--下载内容均来自于网络,请自行研究使用
设计一个猜数字游戏,游戏规则如下:
1、游戏开始,电脑随机生成三个不重复的十以内的数字。
2、玩家输入他所猜测的三个数字
3、将玩家提交的数与电脑生成的数进行比较,结果显示成"*A*B"。A代表位置正确数字也正确,B代表数字正确但位置不正确,比如:"2A0B"表示您有2个数字的位置正确且数值也正确,除此以外,您还猜对了0个数字,但位置不对。
4、玩家共有7次机会,在7次内,如果结果为“3A0B”,游戏成功,退出游戏。如果7次里玩家都没有猜对游戏失败。
-Design a guessing game, rules of the game are as follows: 1, the game starts, the computer randomly generates three non-repeating digits ten less. 2, players enter the three numbers he speculated 3, players will count filed with the computer-generated comparison, the results displayed as " * A* B" . A representative of the position of the correct figure is correct, B represents the number correct but the location is not correct, such as: " 2A0B" means you have two numbers in the correct position and the value is correct, in addition, you guessed 0 figures, but wrong place. 4, a total of seven players the opportunity, within seven times, if the result is " 3A0B" , the game successfully, quit the game. If the players are not seven times in the game failed to guess.
1、游戏开始,电脑随机生成三个不重复的十以内的数字。
2、玩家输入他所猜测的三个数字
3、将玩家提交的数与电脑生成的数进行比较,结果显示成"*A*B"。A代表位置正确数字也正确,B代表数字正确但位置不正确,比如:"2A0B"表示您有2个数字的位置正确且数值也正确,除此以外,您还猜对了0个数字,但位置不对。
4、玩家共有7次机会,在7次内,如果结果为“3A0B”,游戏成功,退出游戏。如果7次里玩家都没有猜对游戏失败。
-Design a guessing game, rules of the game are as follows: 1, the game starts, the computer randomly generates three non-repeating digits ten less. 2, players enter the three numbers he speculated 3, players will count filed with the computer-generated comparison, the results displayed as " * A* B" . A representative of the position of the correct figure is correct, B represents the number correct but the location is not correct, such as: " 2A0B" means you have two numbers in the correct position and the value is correct, in addition, you guessed 0 figures, but wrong place. 4, a total of seven players the opportunity, within seven times, if the result is " 3A0B" , the game successfully, quit the game. If the players are not seven times in the game failed to guess.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
5130309630锛?
.............\.DS_Store
__MACOSX
........\5130309630锛?
........\.............\._.DS_Store
5130309630锛?\.git
.............\....\.DS_Store
__MACOSX\5130309630锛?\.git
........\.............\....\._.DS_Store
5130309630锛?\.git\branches
.............\....\COMMIT_EDITMSG
.............\....\config
.............\....\description
.............\....\HEAD
.............\....\hooks
.............\....\.....\applypatch-msg.sample
.............\....\.....\commit-msg.sample
.............\....\.....\post-update.sample
.............\....\.....\pre-applypatch.sample
.............\....\.....\pre-commit.sample
.............\....\.....\pre-push.sample
.............\....\.....\pre-rebase.sample
.............\....\.....\prepare-commit-msg.sample
.............\....\.....\update.sample
.............\....\index
.............\....\info
.............\....\....\exclude
__MACOSX\5130309630锛?\.git\info
........\.............\....\....\._exclude
5130309630锛?\.git\logs
.............\....\....\.DS_Store
__MACOSX\5130309630锛?\.git\logs
........\.............\....\....\._.DS_Store
5130309630锛?\.git\logs\HEAD
.............\....\....\refs
.............\....\....\....\.DS_Store
__MACOSX\5130309630锛?\.git\logs\refs
........\.............\....\....\....\._.DS_Store
5130309630锛?\.git\logs\refs\heads
.............\....\....\....\.....\master
.............\....\objects
.............\....\.......\.DS_Store
__MACOSX\5130309630锛?\.git\objects
........\.............\....\.......\._.DS_Store
5130309630锛?\.git\objects\1b
.............\....\.......\..\efbb2a8ec78720c9e8c335da8e62f5fc35fc22
.............\....\.......\23
.............\....\.......\..\dd92ce944fcc6881c8e42df7f1312ee46e65eb
.............\....\.......\43
.............\....\.......\..\b15f0b9e71b5221ab9aa400ed4b2ecd7b3a5b1
.............\....\.......\60
.............\....\.......\..\6898d199c4dab5d81eca57ae0cbb5c5364ae96
.............\....\.......\74
.............\....\.......\..\b08d46c4987c70dd1768097c9e924f064d8dfe
.............\....\.......\7a
.............\....\.......\..\99912613b88239e837fe7f126db66a27a33e29
.............\....\.......\93
.............\....\.......\..\076738a767af258a5fdceecdeee38037af3525
.............\....\.......\a4
.............\....\.......\..\cd496e417e9889505c391cef1e2618d2322bd3
.............\....\.......\a8
.............\....\.......\..\db7ba13e9ae1b446a305a7dffb160ab4842ee6
.............\....\.......\ae
.............\....\.......\..\99c6458e8ebe042d8e815d4485aaa5cd336d11
.............\....\.......\b8
.............\....\.......\..\5184cc71b96f1494c4961cabf795c8b8939693
.............\....\.......\c2
.............\....\.......\..\8709e9f38f9b64bc34c01f6962aa7801d3200a
.............\....\.......\e8
.............\....\.......\..\1d1fd9bef8a2d6ab8f5a1b3925ce555c18c834
.............\....\.......\f0
.............\....\.......\..\45d4021205bb4a6203b58ca4e5ad8407c00c05
.............\....\.......\info
.............\....\.......\pack
.............\....\refs
.............\....\....\.DS_Store
__MACOSX\5130309630锛?\.git\refs
........\.............\....\....\._.DS_Store
5130309630锛?\.git\refs\heads
.............\....\....\.....\master
.............\....\....\tags
.............\5130309630 榛勭