Skip to content

ankush-dhingraa/rock-paper-scissors-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

rock-paper-scissors-python

๐Ÿš€ Rock Paper Scissors - Python Edition ๐Ÿชจ๐Ÿ“„โœ‚๏ธ A simple yet fun Rock-Paper-Scissors game written in Python, featuring ASCII art and an interactive command-line interface (CLI). Play against the computer and test your luck! ๐ŸŽฎ

A simple Rock-Paper-Scissors game written in Python without GUI.

Features

  • Play against the computer
  • Randomized opponent choices
  • Simple text-based interface

๐Ÿ› ๏ธ How to Run

1๏ธโƒฃ Install Python (if not installed)

2๏ธโƒฃ Clone the Repository

Open your terminal or command prompt and run:

git clone https://github.com/ankush-dhingraa/rock-paper-scissors-python

3๏ธโƒฃ Navigate to the Project Folder

  • Execute the following command:
cd rock-paper-scissors-python

4๏ธโƒฃ Run the Script

  • Execute the following command:
python rock_paper_scissors.py

๐ŸŽฎ Example Gameplay

What do you Chose? Type 0 for Rock, 1 for Paper, 2 for Scissor or 3 for EXIT # : 0

    _______
---'   ____)
      (_____)
      (_____)
      (____)
---.__(___)

Computer Choose : 

    _______
---'   ____)____
          ______)
       __________)
      (____)
---.__(___)

Rock wins against scissors.
๐Ÿ†๐Ÿ†๐Ÿ†
What do you Chose? Type 0 for Rock, 1 for Paper, 2 for Scissor or 3 for EXIT # : 2

    _______
---'   ____)____
          ______)
       __________)
      (____)
---.__(___)

Computer Choose : 

    _______
---'   ____)____
          ______)
       __________)
      (____)
---.__(___)

it is a draw
What do you Chose? Type 0 for Rock, 1 for Paper, 2 for Scissor or 3 for EXIT # : 3

.######..##..##..######..######.
.##.......####.....##......##...
.####......##......##......##...
.##.......####.....##......##...
.######..##..##..######....##...  

Thanks for playing! Remember, every game is a chance to improve. Goodbye!

๐Ÿ“œ License

This project is open-source under the MIT License. Feel free to use, modify, and improve it! ๐Ÿš€

About

๐Ÿš€ Rock Paper Scissors - Python Edition ๐Ÿชจ๐Ÿ“„โœ‚๏ธ A simple yet fun Rock-Paper-Scissors game written in Python, featuring ASCII art and an interactive command-line interface (CLI). Play against the computer and test your luck! ๐ŸŽฎ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages