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