Scarnes dice is a turn-based dice game that requires the user to play a game against the computer. The player earns points by rolling the die.
Rules:
-if the user rolls a 1, their turn ends and they lose their turn score.
-if the user rolls any other number:
the number rolled is added to their turn score.
the user chooses to re-roll or end their turn and keep their turn score.
their turn score is added to their overall score.
The winner is the first player to reach 100 points.
A project from Google CS Applied CS wih Android => https://cswithandroid.withgoogle.com/unit?unit=6&lesson=8