文件名称:fzufree
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:7.32kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
大三上学期写的博饼程序,以下是关于游戏的说明
(1)游戏开始时,可由玩家设置奖品数,例如:每会饼设“状元”1个,“对堂”2个,“三红”4个,“四进”8个,“二举”16个,“一秀”32个。
(2)游戏开始时,可设定玩家人数,游戏中应提示各位玩家轮流依次掷骰子,例如“1号玩家请掷筛子:y”;
(3)游戏中,应显示玩家每次掷得的点数,并显示得奖情况。例如“1,2,3,5,5,6 无奖,继续努力”;“1,4,4,3,5,6 二举,恭喜”。程序应能保存各位玩家得奖的记录。
(4)游戏设定的“一秀”、“二举”、“三红”、“四进”、“对堂”的奖品若领完,后续玩家若再掷出此类点数,不再得奖。但在上述奖品领完前,“状元饼”采取追饼的方式,即在其他奖品分完前,后一个掷得“状元”的人若比前一个“状元”等级大,则可追得“状元饼”。
(5)所有奖品分完,游戏结束。或者某玩家掷出6个“四点”,夺得所有奖品,其他玩家将同时失去所有奖品,游戏结束。
(6)游戏结束后,应输出所有玩家得奖情况。
-Bo wrote last semester junior cake program, the following is a descr iption of the game
(1) the game starts, players can set the number of prizes, for example: Each cake will be a "champion" a, "on the Church," 2, "three red" 4, "four into the" eight, "the second move" 16, "a show" of 32.
(2) the game starts, you can set the number of players, game players take turns you should be prompted to turn the dice, such as "No. 1 player, please throw a sieve: y"
(3) game, players should show the number of points obtained per throw, and display the winning situation. For example, "1,2,3,5,5,6 no award, to continue efforts" "1,4,4,3,5,6 second move, congratulations." Program should be able to save you the player winning record.
(4) game set in "a show", "Second cite", "three red", "four into", and "Church" After receiving a prize if, if more players to throw up such points no longer have to Award. After receiving the prize in front, "top cake" cake to take to recover the way that end points
(1)游戏开始时,可由玩家设置奖品数,例如:每会饼设“状元”1个,“对堂”2个,“三红”4个,“四进”8个,“二举”16个,“一秀”32个。
(2)游戏开始时,可设定玩家人数,游戏中应提示各位玩家轮流依次掷骰子,例如“1号玩家请掷筛子:y”;
(3)游戏中,应显示玩家每次掷得的点数,并显示得奖情况。例如“1,2,3,5,5,6 无奖,继续努力”;“1,4,4,3,5,6 二举,恭喜”。程序应能保存各位玩家得奖的记录。
(4)游戏设定的“一秀”、“二举”、“三红”、“四进”、“对堂”的奖品若领完,后续玩家若再掷出此类点数,不再得奖。但在上述奖品领完前,“状元饼”采取追饼的方式,即在其他奖品分完前,后一个掷得“状元”的人若比前一个“状元”等级大,则可追得“状元饼”。
(5)所有奖品分完,游戏结束。或者某玩家掷出6个“四点”,夺得所有奖品,其他玩家将同时失去所有奖品,游戏结束。
(6)游戏结束后,应输出所有玩家得奖情况。
-Bo wrote last semester junior cake program, the following is a descr iption of the game
(1) the game starts, players can set the number of prizes, for example: Each cake will be a "champion" a, "on the Church," 2, "three red" 4, "four into the" eight, "the second move" 16, "a show" of 32.
(2) the game starts, you can set the number of players, game players take turns you should be prompted to turn the dice, such as "No. 1 player, please throw a sieve: y"
(3) game, players should show the number of points obtained per throw, and display the winning situation. For example, "1,2,3,5,5,6 no award, to continue efforts" "1,4,4,3,5,6 second move, congratulations." Program should be able to save you the player winning record.
(4) game set in "a show", "Second cite", "three red", "four into", and "Church" After receiving a prize if, if more players to throw up such points no longer have to Award. After receiving the prize in front, "top cake" cake to take to recover the way that end points
(系统自动生成,下载前可以参看下载内容)
下载文件列表
fzufree/.classpath
fzufree/.project
fzufree/.settings/org.eclipse.jdt.core.prefs
fzufree/bin/Lab2/BoCake.class
fzufree/bin/Lab2/Dice.class
fzufree/src/Lab2/BoCake.java
fzufree/src/Lab2/Dice.java
fzufree/bin/Lab2
fzufree/src/Lab2
fzufree/.settings
fzufree/bin
fzufree/src
fzufree
fzufree/.project
fzufree/.settings/org.eclipse.jdt.core.prefs
fzufree/bin/Lab2/BoCake.class
fzufree/bin/Lab2/Dice.class
fzufree/src/Lab2/BoCake.java
fzufree/src/Lab2/Dice.java
fzufree/bin/Lab2
fzufree/src/Lab2
fzufree/.settings
fzufree/bin
fzufree/src
fzufree
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.