Skip to content

DidoReis/Paper-Rock-Scissors--Python-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Rock-Paper-Scissors and Rock-Paper-Scissors-Lizard-Spock Game This is a Python program that allows you to play the traditional Rock-Paper-Scissors game or the extended version, Rock-Paper-Scissors-Lizard-Spock. The game is played against the computer, and you can choose your moves by entering the corresponding commands.

Prerequisites Python 3.x How to Run the Game Clone the repository or download the code files.

Open the terminal or command prompt.

Navigate to the directory where the code files are located.

Run the following command to execute the program:

bash Copy code python game.py Follow the on-screen instructions to play the game.

Game Instructions Rock-Paper-Scissors Enter "help" to view the instructions. Enter "Rock", "Paper", or "Scissors" to make your move. Enter "exit" to quit the game. Rock-Paper-Scissors-Lizard-Spock Enter "help" to view the instructions. Enter "Rock", "Paper", "Scissors", "Lizard", or "Spock" to make your move. Enter "exit" to quit the game. Gameplay The computer will randomly choose its move. The winner of each round will be determined based on the rules of the game. The program will display the computer's move and declare the winner. If there is a tie, the game will be declared as a tie. The program will continue until you choose to exit the game. Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License This project is licensed under the MIT License.

Feel free to customize the README file according to your needs and add any additional information about the game or its features.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages