文件名称:文曲星游戏
介绍说明--下载内容均来自于网络,请自行研究使用
这是文曲星里的小游戏,本人用C语言将其编出并添加破纪录功能。游戏规则:随机产生4个数字,由玩家输入4个不重复的数字(如:8 3 1 2)按回车后电脑给出提示,其形式为"?A?B".你所输入的四位数中,位置和数字都正确则为A,数字相同但位置不相同时为B,你只可以猜10次,若你所用的次数小于纪录保持者,则为破纪录。小作一篇,请多请教!
-This is a small game, I used the C language out to be record-breaking and add functionality. The rules of the game : randomly generated four figures from the importation of four players not to repeat the figures (such as : 8 3 1 2) by the transport after the computer is suggested, in the form of "A B." you have entered the four-digit, location and the correct figures for A, but the same number is not same location B, you can only guess 10, if you use less than the number of records, compared with the record. For a small, please ask!
-This is a small game, I used the C language out to be record-breaking and add functionality. The rules of the game : randomly generated four figures from the importation of four players not to repeat the figures (such as : 8 3 1 2) by the transport after the computer is suggested, in the form of "A B." you have entered the four-digit, location and the correct figures for A, but the same number is not same location B, you can only guess 10, if you use less than the number of records, compared with the record. For a small, please ask!
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文曲星游戏.txt