Skip to content

turki013/RoShamBo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Rock_paper_scissors

RoShamBo - Rock, Paper, Scissors Game 🪨📄✂️

GitHub Repo stars GitHub forks GitHub issues Python GitHub pull requests GitHub last commit GitHub repo size License

📋 Introduction

RoShamBo is a simple Python-based Rock, Paper, Scissors game where you can compete against an Al. Test your strategy and see if you can outsmart it


🎮 How to Play

  1. Run the program.
  2. Choose one of the three options:
    • Rock
    • Paper
    • Scissors
  3. The program will display the AI's choice and announce the winner!

🧾 Game Rules

  • Rock beats Scissors.
  • Paper beats Rock.
  • Scissors beat Paper.
  • If you and the AI make the same choice, it's a tie.

🛠 Requirements

  • Python 3.6 or later.
  • The random module (pre-installed with Python).

⚙️ How to Run

  1. Ensure Python is installed on your machine.
  2. Download the code.
  3. Open a terminal and navigate to the file's directory.
  4. Run the program using the command:
    python RoShamBo.py
  5. Enjoy the game! 🎉

✨ Examples

✅ Winning Scenario:

Enter [Rock, Paper, Scissors]: Paper
You chose Paper and the AI chose Rock
You win!

❌ Losing Scenario:

Enter [Rock, Paper, Scissors]: Scissors
You chose Scissors and the AI chose Rock
You lose!

🤝 Tie Scenario:

Enter [Rock, Paper, Scissors]: Rock
You chose Rock and the AI chose Rock
It's a tie!

🤝 Contributors

This project was developed as part of learning Python programming. 🧑‍💻


About

Rock paper scissors game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages