Skip to content

A simple command-line Stone, Paper, Scissors game built in Python. Play multiple rounds against the computer, track scores, and see the final winner. Great beginner project using loops, conditions, and the random module.

Notifications You must be signed in to change notification settings

irajtahir/stone-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Stone Paper Scissors Game

Welcome to the classic Stone, Paper, Scissors game written in Python!

👩‍💻 How It Works:

  • The player enters their name and chooses how many rounds to play.
  • In each round, the player chooses either stone, paper, or scissor.
  • The computer randomly selects one of the three options.
  • Scores are kept for both the player and the computer.
  • At the end, final results are displayed showing who won!

🛠 Technologies Used:

  • Python
  • random module
  • Conditional Statements (if-elif-else)
  • Loops

📦 How to Run:

  1. Make sure Python is installed on your computer.
  2. Save the game file as stone_game.py.
  3. Open terminal or command prompt.
  4. Run the file: python stone_game.py

Sample Output:

  • Enter your name: Iraj
  • Welcome Iraj, to Stone, paper, scissor game
  • How many rounds do you want to play: 3
  • Enter your choice: paper
  • You choose = paper
  • Computer choose = stone
  • You win

Author:

Iraj Tahir

About

A simple command-line Stone, Paper, Scissors game built in Python. Play multiple rounds against the computer, track scores, and see the final winner. Great beginner project using loops, conditions, and the random module.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages