Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Rock Paper Scissors

A console Rock-Paper-Scissors game. The player picks a move each round, the computer picks randomly, and the score is tracked until the player chooses to exit.

Example

1. Rock, 2. Paper, 3. Scissors, 4. Exit: 1
You chose Rock and computer chose Scissors
You Win!

1. Rock, 2. Paper, 3. Scissors, 4. Exit: 2
You chose Paper and computer chose Paper
Its a draw.

1. Rock, 2. Paper, 3. Scissors, 4. Exit: 4
Your score is 1/1
Thanks for playing.

How to run on localhost

python main.py

Dependencies

Standard library only (uses random).