Game Project: Rock, Paper, Scissors
Build a looping Rock, Paper, Scissors game against a computer; track scores, and exit on command.
Let’s build a simple but fun game where the user plays Rock, Paper, Scissors against the computer! We’ll loop the game until the user wants to exit and show the current score after each round.
You’ll practice:
Loops
Conditionals
Strings and arrays
Random numbers
Functions
Project requirements
The game should let the user play Rock, Paper, Scissors against the computer in a loop. After each round, it should show who won and the current score. The game continues until the user types “Exit,” and then shows the final score. The following interface gives you a clearer picture of the project. To start, type your name in the window below and press the “Enter” key. Follow the ...