Skip to content

"Python script implementing Rock Paper Scissors game. Player vs. computer. Input validation, game result display, replay option. Clone, modify, enjoy!"

Notifications You must be signed in to change notification settings

saadpathan/Rock-Paper-Scissors-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Rock-Paper-Scissors-Game

"Python script implementing Rock Paper Scissors game. Player vs. computer. Input validation, game result display, replay option. Clone, modify, enjoy!"


Rock Paper Scissors Game

This is a simple implementation of the classic Rock Paper Scissors game in Python. The game allows the player to choose between rock, paper, or scissors, and then randomly generates a choice for the computer. The outcome is determined based on the rules: rock beats scissors, scissors beats paper, and paper beats rock. The game continues until the player decides to quit.

Features:

  • Random computer selection from rock, paper, or scissors.
  • Input validation for player's choice.
  • Display of the game result: win, lose, or tie.
  • Option to play again after each round.

Instructions:

  1. Run the script in Python environment.
  2. Enter your choice (rock, paper, or scissors) when prompted.
  3. See the outcome of the game.
  4. Choose whether to play again or exit.

How to Play:

  • Clone or download the repository.
  • Execute the Python script (rockpaperscissorsgame.py) in your preferred Python environment.
  • Follow the prompts to input your choice and see the game result.
  • Enjoy playing the classic game of Rock Paper Scissors!

Feel free to fork, modify, and enhance the code according to your preferences. Contributions and feedback are welcome!


About

"Python script implementing Rock Paper Scissors game. Player vs. computer. Input validation, game result display, replay option. Clone, modify, enjoy!"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages