Skip to content

A simple Python implementation of the classic Rock-Paper-Scissors game with score tracking and a "best of 3" mechanic.

Notifications You must be signed in to change notification settings

nodemist/rock-paper-scissors-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 

Repository files navigation

Rock Paper Scissors Game

A simple command-line implementation of the classic Rock-Paper-Scissors game in Python.

The game is played as a best of 3 match between the player and the computer.
Each round, the player makes a choice, and the computer randomly chooses one as well. The winner is determined using the traditional rules:

  • Rock beats Scissors
  • Scissors beats Paper
  • Paper beats Rock

The game tracks the score until either the player or the computer wins 2 rounds.

๐Ÿš€ How to Run

Make sure you have Python installed.
Then in terminal:

python rock_paper_scissors.py

๐Ÿง  Features

  • Interactive input via terminal
  • Randomized computer moves
  • Score tracking
  • Best-of-three match system

๐Ÿ“‚ File structure

rock-paper-scissors/
โ”œโ”€โ”€ rock_paper_scissors.py
โ””โ”€โ”€ README.md

๐ŸŽฎ Example Output

Let's play rock, paper, or scissors!
Make your choice! rock
Computer chose: scissors
You won
Current Score - Player: 1, Computer: 0

Made as a part of my Python learning journey โœจ

About

A simple Python implementation of the classic Rock-Paper-Scissors game with score tracking and a "best of 3" mechanic.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages