diff --git a/README.md b/README.md new file mode 100644 index 0000000..a85c773 --- /dev/null +++ b/README.md @@ -0,0 +1,170 @@ +# **Rock Paper Scissors Game โœ‚๏ธ๐Ÿชจ๐Ÿ“„** + +A fun and simple Rock Paper Scissors game built in Python! ๐ŸŽฎ Challenge the computer and keep track of your wins, losses, and ties in this classic game of strategy and luck. ๐Ÿš€ + + + + + +## **Overview ๐ŸŒŸ** + +This Python script lets you play Rock Paper Scissors against the computer. ๐Ÿ–ฅ๏ธ It uses basic Python features like loops, conditionals, and random number generation to create an engaging, console-based game. Perfect for beginners learning Python or anyone looking for a quick game! ๐Ÿ˜„ + +## + +## **Features โœ…** + + + +**Interactive Gameplay:** Choose Rock ๐Ÿชจ, Paper ๐Ÿ“„, or Scissors โœ‚๏ธ to compete against the computer. + +**Score Tracking:** Displays your wins ๐Ÿ†, losses ๐Ÿ˜”, and ties ๐Ÿค after each round. + +**Simple Controls:** Enter R, P, S, or Q to play or quit. ๐Ÿ•น๏ธ + +**Random Computer Moves:** The computer picks randomly for fair gameplay. ๐ŸŽฐ + +**Exit Anytime:** Type Q to quit the game. ๐Ÿšช + + + +## **How to Play ๐ŸŽฒ** + + + +**Run the Python script. ๐Ÿ** + +View your current score (wins, losses, ties). ๐Ÿ“Š + +Enter your move: + +R for Rock ๐Ÿชจ + +P for Paper ๐Ÿ“„ + +S for Scissors โœ‚๏ธ + +Q to quit ๐Ÿšช + + + + + +The computer randomly selects its move. ๐Ÿค– + +The game shows both moves and declares the result (win ๐Ÿ†, loss ๐Ÿ˜”, or tie ๐Ÿค). + +Keep playing or quit when youโ€™re done! ๐Ÿ˜Ž + + + +## **Rules** + + + +๐Ÿชจ Rock beats โœ‚๏ธ Scissors + +โœ‚๏ธ Scissors beats ๐Ÿ“„ Paper + +๐Ÿ“„ Paper beats ๐Ÿชจ Rock + +Same moves result in a tie ๐Ÿค + + + +## **Installation ๐Ÿ› ๏ธ** + +To play the game, you need Python installed. Follow these steps: + + + +**Download the Script:** + + + +Save the rock\_paper\_scissors.py file to your computer. ๐Ÿ’พ + +Alternatively, clone the repository (if hosted):git clone https://github.com/aviralshukla12/Python + + + + + + + +**Check Python Installation:** + + + +Ensure Python 3.x is installed:python --version + + + + + + + + + +**Run the Game:** + + + +Navigate to the scriptโ€™s directory and run:python rock\_paper\_scissors.py + + + + + +## + +## **Usage โ–ถ๏ธ** + + + +After starting the game, follow the prompts to input your move. The game displays your choice, the computerโ€™s choice, and the result. Your score updates after each round. Type Q to exit. ๐Ÿ + + + +**Example output:** + +Let's Play ROCK PAPER SCISSORS GAME! ๐ŸŽ‰ + +Current streak: 0 Wins, 0 Losses, 0 Ties ๐Ÿ“Š + +Type 'Q' to quit + +'R' for ROCK, 'P' for PAPER, 'S' for SCISSORS + +R + +ROCK versus... ๐Ÿชจ + +PAPER ๐Ÿ“„ + +It's a loss! ๐Ÿ˜” + + + +## **Contributing ๐Ÿค** + +Want to improve the game? Awesome! ๐Ÿ˜Š To contribute: + + + +Fork the repository. ๐Ÿด + +Create a branch (git checkout -b feature-cool-idea). + +Make your changes and test them. ๐Ÿงช + +Commit your changes (git commit -m "Added cool feature"). ๐Ÿ“ + +Push to your branch (git push origin feature-cool-idea). ๐Ÿš€ + +Open a pull request. ๐Ÿ™Œ + + + + +