Skip to content

Rock-Paper-Scissors game with score tracking and win rate calculation in Python.

Notifications You must be signed in to change notification settings

Ray-sunny/Rock_paper_scissors_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Rock-Paper-Scissors Game

A Rock-Paper-Scissors game with score tracking, history, and winning rate calculation, built in Python.

Features

  • Choose between Rock, Paper, or Scissors.
  • Play up to 3 rounds per game, and choose to continue playing.
  • Track your score, computer's score, and the number of ties.
  • View a history of your scores for each game round.
  • Calculate and display your winning rate at the end of all rounds.

How to Run

  1. Clone this repository.

  2. Run the following command in your terminal:

    python rock_paper_scissors.py
    
  3. Follow the on-screen instructions to play the game.

    Example Output

    Please enter your gesture s(scissors) r(Rock) p(paper):
    Your gesture: paper
    Computer gesture: rock
    You win!
    Your scores: 3, Computer scores: 1, Even scores: 0
    Your winning rate: 75.00%
    

About

Rock-Paper-Scissors game with score tracking and win rate calculation in Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages