Skip to content

Jermil2990/Github-Copilot-Minigame

 
 

Repository files navigation

Challenge project - Build a minigame console app with GitHub Copilot

Challenge project: "Challenge project - Build a minigame console app with GitHub Copilot". To check the solution, change the branch to Solution.

Rock, Paper, Scissors Game ๐ŸŽฎ

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.

๐Ÿ“‹ Features

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.

โ–ถ๏ธ How to Run

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

๐Ÿ•น๏ธ Gameplay Instructions

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.

๐Ÿ“Œ Notes

Invalid inputs are handled with prompts to try again.

Score resets every time the script is run.

About

Challenge project - Build a minigame console app with GitHub Copilot

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%