Share your repls and programming experiences

← Back to all posts
Dice Game
vongs (1)

Create a dice game that "rolls" two dice (gets two random numbers between 1 and 6). If the numbers are different, then the sum is added to a total. If they are the same, then the sum is subtracted from a total. The player wins if their total reaches 100 before or at their 20th roll.