Skip to content

Latest commit

 

History

History
executable file
·
29 lines (18 loc) · 1.23 KB

README.md

File metadata and controls

executable file
·
29 lines (18 loc) · 1.23 KB

rock_papers_scissors

Project Title

Rock-Paper-Scissors Game

Description

This is a simple command-line Rock-Paper-Scissors game implemented in Python. The game allows the user to play against the computer by choosing one of the three options: rock, paper, or scissors. The computer's choice is randomly generated. The rules are standard: rock beats scissors, scissors beats paper, and paper beats rock. The game displays the winner or declares a tie based on the user's and computer's choices.

Getting Started

  1. Clone the repository to your local machine.
  2. Make sure you have Python installed.
  3. Open your terminal/command prompt and navigate to the project directory.
  4. Run using the command python3 main.py
  5. Follow the on-screen instructions to play the game.

Usage

  • Select 'r' for rock, 'p' for paper, or 's' for scissors when prompted.
  • The computer's choice will be displayed, and the winner (or tie) will be announced.

Acknowledgements

  • This project was inspired by the classic Rock-Paper-Scissors game.
  • Special thanks to the contributors who helped improve the code and documentation.

Feel free to contribute, report issues, or suggest improvements by creating a pull request or opening an issue. Happy gaming!