Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a web page with the following components: An input field for the number of rounds to play The number of remaining rounds should also

Create a "web page" with the following components: An input field for the "number of rounds to play" The "number of remaining" rounds should also be displayed somewhere on the screen. A button to "Start" the game play. The function attached to this button can "setup" the rest of the game. For example: initialize counters, show/hide other components, etc. A set of buttons for the player to choose their play: Rock Scissors Paper Lizard Spock An output field (or area) where the computer displays it's play (the computer's choice). (Same set as above) Note: This does not have to be a "text field"; you may use an image placeholder if you like if you'd to incorporate additional graphics. The objective is to simply have a place on the screen where the user user can know what choice the computer actually made... text, graphics, emoji's, or whatever. This also applies the "user choice" buttons as well. An output field which displays the result of the current round: For example: Computer won with rock breaking scissors. The game should end when the number of rounds specified at the beginning have been played. The "overall winner" should be displayed. For example: Human wins after winning 3 of 5 rounds.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions