Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

HANDS-ON 2- DUE before Midnight Sunday 21 Jan THE CHALLENGE Rock Write a program that allows a human user to play Rock-Paper-Scissors (RPS) against the

image text in transcribed
HANDS-ON 2- DUE before Midnight Sunday 21 Jan THE CHALLENGE Rock Write a program that allows a human user to play Rock-Paper-Scissors (RPS) against the computer. You can run an example RPS game solution on http:/lwww.rinkworks.com/games! to get a feel for how a vs. Computer" mode, and the smallest number of rounds is 5. Your version of the game works. When doing so, choose "Human aper solution DOES NOT have to bo as pretty" as RinkWorks solution, and you may choice! encode your program in whatever is your programming language of | SCISSOrs Your program should demonstrato the tolowing features: ask the human user how many points either player must accumulate . to win . run rounds repeatedly until the human or computer has scored the required number of points to win show a running total of points for both the human and the computer at the beginning of each round randomly generate the computer's choice of rock, paper, or scissors on each round, keeping it secret until the user makes his/her choice allow the human user to enter an upper or lower case letter for their choice: that is, R or r for rock: P or p for paper; S or s for scissors display who has won or lost each round display some kind of congratulatory or snarky remark when announcing the overall winner of the game . . after the winner is declared, ask the human user if s/he wants to play again, and restart the game from scratch if s/he does. THE EVIDENCE Submit 2 items: RPS code- file save from your IDE or editor of choice. I must be able to open or copy/paste the code to run it myself RPS run - file save from your IDE or OS of choice; a screen shot also is acceptable . . YOUR NOTES HERE

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

main message of chapter 7 who owns the ice house

Answered: 1 week ago

Question

General Purpose of Your Speech Analyzing Your Audience

Answered: 1 week ago

Question

Ethical Speaking: Taking Responsibility for Your Speech?

Answered: 1 week ago