没有人在听。每个人都挤在800张赌台的周围,目不转睛地盯着翻开的纸牌、旋转的轮盘或者滚动的骰子。
No one is listening. Everyone is jammed around the 800 tables, focused on the flip of cards, the spin of the roulette wheel or the roll of dice.
从这里开始,我们可以继续根据需要一次滚动多个骰子,返回结果数组;也可以一次性滚动多个不同类型的骰子。
From here, we can go on to rolling multiple die at once, returning an array of results, or rolling multiple die of different kinds all at once, depending on our needs.
换句话说,骰子开始滚动了。
然后可以把需要滚动的骰子类型作为参数传递给函数。
Then we can pass the type of die we want to roll as a parameter to the function.
实际上,滚动一个六面骰子就是从1到6之间选择一个随机数字。
Essentially, there's no difference between rolling a six-sided die and picking a random number between 1 and 6.
显然,我每次滚动的骰子我不知道结果会如何。
Clearly, every time I roll the dice I have no idea what the outcome will be.
显然,我每次滚动的骰子我不知道结果会如何。
Clearly, every time I roll the dice I have no idea what the outcome will be.
应用推荐