问题描述
有人可以帮助我为双骰子游戏编写伪游戏吗?我上传的是一款过时的游戏,它是:
can someone help me to write a pseudo for a double dice game. It is a provious game that i upload and it is:
如何仅使用两个就可以用JavaScript和html制作两个骰子游戏骰子?
1.每个玩家每回合投掷两个骰子一次.仅当您掷双打时才得分(也就是说,两个骰子顶面上的斑点数相同).
2.玩家为双打,双打,四打或五打得到5分.双六获得25分,但是如果投双三则您的得分会回到零.
3.在演奏时添加您的乐谱.第一个获得五十分的玩家将赢得比赛.
How to make a dice game for two player in javascript and html using just two dice?
1. Each player throws both dice once per turn. You only score if you throw doubles (that is, both dice have the same number of spots on their top face).
2. Players score five points for double ones, twos, fours or fives. A double six scores twenty five points, but if you throw a double three your score goes back to zero.
3. Add your score as you play. The first player to get fifty points wins the game.
推荐答案
这篇关于游戏的伪代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!