文件名称:zuoyelianxi1016
介绍说明--下载内容均来自于网络,请自行研究使用
1. 随机生成4个0到9的整数,组成一个序列(使用LinkedList<Integer>存储)
例如:3 6 4 4
2. 然后要求用户循环猜这4个数子,在用户每猜一次之后,提示用户有几个数字的位置正确了。
例如:用户输入3 7 2 4 (3和4的位置正确了),则提示用户有2个数字正确(但不提
示具体是哪2个数字正确,需要用户自行判断)。
3. 使用LinkedList存储用户每次猜测是数字组合。用户可以随时查看之前自己的输入
例如:3 7 2 4
5 7 2 4
……
4. 用户猜到第10次时,就没有机会,提示猜测失败。-A randomly generated 4 0-9 integer form a sequence (using LinkedList <Integer> Storage) example: 36442. Then asks the user sub-loop guess this number 4 in the user every guess once, prompts the user to have a few numbers in the correct position. For example: The user enters 3724 (3 and 4 position correct), then prompts the user to have two numbers right (but not the specific tips which two numbers correctly, requiring users to make their own judgment). 3 Use LinkedList store user each guess is a digital portfolio. Before users can view their input example: 37245724 ...... 4 10th when the user guessed, there is no chance that prompts speculation fails.
例如:3 6 4 4
2. 然后要求用户循环猜这4个数子,在用户每猜一次之后,提示用户有几个数字的位置正确了。
例如:用户输入3 7 2 4 (3和4的位置正确了),则提示用户有2个数字正确(但不提
示具体是哪2个数字正确,需要用户自行判断)。
3. 使用LinkedList存储用户每次猜测是数字组合。用户可以随时查看之前自己的输入
例如:3 7 2 4
5 7 2 4
……
4. 用户猜到第10次时,就没有机会,提示猜测失败。-A randomly generated 4 0-9 integer form a sequence (using LinkedList <Integer> Storage) example: 36442. Then asks the user sub-loop guess this number 4 in the user every guess once, prompts the user to have a few numbers in the correct position. For example: The user enters 3724 (3 and 4 position correct), then prompts the user to have two numbers right (but not the specific tips which two numbers correctly, requiring users to make their own judgment). 3 Use LinkedList store user each guess is a digital portfolio. Before users can view their input example: 37245724 ...... 4 10th when the user guessed, there is no chance that prompts speculation fails.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
zuoyelianxi1016
...............\.classpath
...............\.project
...............\.settings
...............\.........\org.eclipse.jdt.core.prefs
...............\bin
...............\...\com
...............\...\...\shxt
...............\...\...\....\zuoye
...............\...\...\....\.....\lianxi
...............\...\...\....\.....\......\BeganGame.class
...............\...\...\....\.....\......\SaveNumber.class
...............\src
...............\...\com
...............\...\...\shxt
...............\...\...\....\zuoye
...............\...\...\....\.....\lianxi
...............\...\...\....\.....\......\BeganGame.java
...............\...\...\....\.....\......\SaveNumber.java