Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a rock, paper, scissors game using a python script. (Just a reminder: Rock smashes scissors; scissors cut paper; paper covers rock) a. The script
Create a rock, paper, scissors game using a python script. (Just a reminder: Rock smashes scissors; scissors cut paper; paper covers rock) a. The script will randomly select from a list of the "weapons" There are several ways to do this. One way is to use the random number generator (from the number guess game) and link it by index to a list of weapons. The computer's pick" should obviously not be printed. A user will then be prompted to enter their weapon choice. Print the statement "rock, paper, scissors, GO!" or some other clever way to let the user know the game has begun. Use if statements to designate the winner based on the choices by the computer and winner. If both the computer and the user pick the same weapon, a tie should be called. The game should automatically continue until someone (either the computer or the user) wins four times. Thus, counters are necessary. b. c. d. e
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started