需要构建两个数组—一个用于保存同花色的组牌,而另一个用于保存牌面。
We need to build up two arrays - one to hold suits and one to hold faces.
在第1部分中,您整合了一个简单的机率计算器以确定从给定的一副牌中抽到指定牌面或花色的机率。
In Part 1, you put together a simple odds calculator to determine the chance of pulling a card of a specific face or suit from a given set of CARDS.
当所有玩牌者出完牌之后,所有纸牌的牌面都将公布出来。
After each player has played a card, all cards are exposed at once.
Now if you lived in a culture where the only meat that got served was the size of a deck of cards, and the only pasta that got served was the size of a tennis ball, there wouldn't be such problems, but that's not the case.
如果我们生活在一个,肉类每日摄入量是一副牌大小,或者意大利面只有网球大小的环境中,问题就不会存在,可惜这不是现实
应用推荐