← Back to Community

# https://repl.it/@LlewellynTitus/CS50LawGame

Profile icon
LlewellynTitus

My game selects a random number between 1 and 10. The Game then prompts the gamer to guess the correct number, as chosen by the game.
The Gamer gets 3 guesses to guess the correct number.
If gamer selects the correct number, then the game ends.
if the gamer chooses the incorrect number, the gamer get two more chances to guess the correct number.
if gamer chooses the incorrect number 3 times, then the game ends and the gamer lost.

Voters
Profile icon
NathanChambers2
Profile icon
LlewellynTitus