文件名称:guess2
介绍说明--下载内容均来自于网络,请自行研究使用
AS3.0程序
程序会随机生成一个4位数,每猜一个数字,出数者就要根据这个数字给出几A几B,其中A前面的数字表示位置正确的数的个数,而B前的数字表示数字正确而位置不对的数的个数。
如正确答案为 5234,而猜的人猜 5346,则是 1A2B,其中有一个5的位置对了,记为1A,而3和4这两个数字对了,而位置没对,因此记为 2B,合起来就是 1A2B。猜的人再根据出题者的几A几B继续猜,直到猜中(即 4A0B)为止。
-The program will randomly generate a 4-digit, each guess a number, a number of necessary according to this figure are given a few A few B, where A is the number in front of the location of the correct number of values , and B before the number indicates the figuresright and the wrong place, the number of number.
Such as the correct answer is 5234 people guess guess 5346 is 1A2B, a 5 position, denoted as 1A, 3 and 4, these two figures, while the position is not right, so remember to 2B together is 1A2B. Guess again based on a few of the title by a few B continue to guess until the guess (ie, 4A0B).
程序会随机生成一个4位数,每猜一个数字,出数者就要根据这个数字给出几A几B,其中A前面的数字表示位置正确的数的个数,而B前的数字表示数字正确而位置不对的数的个数。
如正确答案为 5234,而猜的人猜 5346,则是 1A2B,其中有一个5的位置对了,记为1A,而3和4这两个数字对了,而位置没对,因此记为 2B,合起来就是 1A2B。猜的人再根据出题者的几A几B继续猜,直到猜中(即 4A0B)为止。
-The program will randomly generate a 4-digit, each guess a number, a number of necessary according to this figure are given a few A few B, where A is the number in front of the location of the correct number of values , and B before the number indicates the figuresright and the wrong place, the number of number.
Such as the correct answer is 5234 people guess guess 5346 is 1A2B, a 5 position, denoted as 1A, 3 and 4, these two figures, while the position is not right, so remember to 2B together is 1A2B. Guess again based on a few of the title by a few B continue to guess until the guess (ie, 4A0B).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
guess2\guess.fla
......\guess.swf
......\Main.as
guess2
......\guess.swf
......\Main.as
guess2