Challenge project: "Challenge project - Build a minigame console app with GitHub Copilot". To check the solution, change the branch to Solution.
This is a simple Python terminal game where you can play Rock, Paper, Scissors against the computer. The program handles user input, keeps track of the score for the current session, and allows the user to play multiple rounds.
Play Rock, Paper, Scissors against a computer opponent.
Randomized computer choices.
Score tracking during the session.
User-friendly prompts and input validation.
Option to replay the game or exit gracefully.
Make sure you have Python installed (version 3.x).
Clone this repository or download the script.
Open your terminal and run:
bash Copy Edit python rock_paper_scissors.py
When prompted, type one of: rock, paper, or scissors.
The computer will randomly choose a move.
You'll see whether you won, lost, or tied.
After each round, you can choose to play again:
Type again or yes to play another round.
Type screen or no to end the game.
Invalid inputs are handled with prompts to try again.
Score resets every time the script is run.