WebApps: Optional Python Project – Rock Paper Scissor

All Homework Must be Uploaded to it own GitHub repository. You will copy the URL Link for your GitHub Repository and Submit that link for each of your homework assignments

Project Rock Paper Scissors:

For this project, you will individually create a program that has a “player” and a “computer” advisory. The computer should randomly choose it’s decision based on a list of actions it can take (“Rock”, “Paper” or “Scissors”). The player should then have a chance to input their decision. If player and computer choose the same decision then display (“Game Tied”), If the player chooses “Rock” and the computer chooses “Paper” display (“You lose”), if the player chooses “Scissors” and the computer chooses “Rock” display (“You Lose”) and if the player chooses “Paper” and the computer chooses “Scissors” then display (“You lose”) — Vice versa for other decisions.

Continue to ask the player for their input until they say “I quit”, at which time the game will then end and display (“Thank you for playing”).

In this project, you will need to use the random.randint function to enable to computer to make a random decision. Full documentation on the use of this function is attached in a link to this assignment.

Useful Resources:

Python Random Package Docs

Skip to content