找回密码
 立即注册
the骰子点数玩家 | 机器人 2022-09-29 152 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
游戏规则:玩家掷两次骰子。每个骰子有六个面,点数分别为1到6。骰子停下来后,计算两个骰子向上面得点数之和。假如首次掷的和事7或11,则玩家赢、假如和为2,3或12,则玩家输,庄家赢。假如和为4,5,6,8,9或10,则这个和就变成玩家的“点数”(称为craps),持续掷骰子。假如投的点数之和等于点数则玩家赢;假如等于7则玩家输;否则在投骰子直至分出输赢。本资料共包括以下附件:
Craps.java
.....太多文件了略.....

(Game Rules: Players roll the dice twice. Each dice has six sides, numbered from 1 to 6. After the dice come to a stop, calculate the sum of the points from the two dice facing up. If the first roll is 7 or 11, the player wins, if the sum is 2, 3 or 12, the player loses and the banker wins. If the sum is 4, 5, 6, 8, 9, or 10, then this sum becomes the player's "points" (called craps), which keep rolling the dice. If the sum of the rolled points is equal to the number of points, the player wins; if it is equal to 7, the player loses; otherwise, the dice are rolled until the winner or loser is divided. This document includes the following attachments:
Craps.java
.....too many files .....)

[下载]09384190021.rar




上一篇:java教程
下一篇:MFC类库详解 chm格式,用了很多年了。