文件名称:fzufree
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 7kb
- 下载次数:
- 0次
- 提 供 者:
- L
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
大三上学期写的博饼程序,以下是关于游戏的说明
(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
.......\.project
.......\.settings\org.eclipse.jdt.core.prefs
.......\bin\Lab2\BoCake.class
.......\...\....\Dice.class
.......\src\Lab2\BoCake.java
.......\...\....\Dice.java
.......\bin\Lab2
.......\src\Lab2
.......\.settings
.......\bin
.......\src
fzufree
.......\.project
.......\.settings\org.eclipse.jdt.core.prefs
.......\bin\Lab2\BoCake.class
.......\...\....\Dice.class
.......\src\Lab2\BoCake.java
.......\...\....\Dice.java
.......\bin\Lab2
.......\src\Lab2
.......\.settings
.......\bin
.......\src
fzufree