Skip to content

The game is producing a random state in 3 possibilities then shows result which player wins

Notifications You must be signed in to change notification settings

iskburcin/RockPaperScissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RockPaperScissors

The game is producing a random state in 3 possibilities then shows result which player wins

When you enter the code in your IDE, then run, the program will need to get your input to choose how many round do you want to play. After you enter your response, the game produce all the round result for each player, and the end of the output you are going to see the final score.

I entered the 3, then the output looks like that. image

Advance RockPaperScissors

This is a simple Rock-Paper-Scissors game implemented in Python.

Step 1: Setting Up the Command Prompt

  1. Open the Command Prompt.
  2. Navigate to the directory containing your rps.py script using the cd (change directory) command.

Step 2: Running the Script

  1. Run the rps.py script with the desired name parameter. For example: Screenshot 2024-06-24 011933
  2. Follow the on-screen instructions to play the game. You'll be prompted to enter: 1 for Rock 2 for Paper 3 for Scissors Here is a brief description of how the game proceeds:
  3. Enter your choice (1, 2, or 3).
  4. The script will display both your choice and the computer's choice, then determine the winner.
  5. After each round, you can choose to play again by entering Y for Yes or quit by entering Q for Quit. Screenshot 2024-06-24 012009 Screenshot 2024-06-24 012113

About

The game is producing a random state in 3 possibilities then shows result which player wins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published