Dice Game Problem is for tomorrow. HELP! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Dice Game Problem is for tomorrow. HELP!

A popular dice game aims to get the first 100 points before the opponent manages to do so. This game is played with a six-sided die with the following rules of the game: a) On each turn, a player repeatedly rolls a die until a 1 or the player decides to stop and pass the turn to his opponent. The sum of the numbers that came out in each roll of the die is added as a temporary score. If the player rolls a 1, the player loses his temporary score and the turn passes to the opponent.

30th Jan 2018, 9:15 PM
Katymaki La Santa
Katymaki La Santa - avatar
1 Answer
+ 4
This sounds like a homework assignment. Are you expecting users to write all your code for you? If you have specific questions I'm sure we can help you, but people here won't waste their time writing your code if you show no efforts.
30th Jan 2018, 9:26 PM
SplittyDev
SplittyDev - avatar