Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A. This is a one-page web-based game. B. The page contains two parts, the top and the bottom, separated by a horizontal line. C. In
A. This is a one-page web-based game. B. The page contains two parts, the top and the bottom, separated by a horizontal line. C. In the top part, there should be a text field which defaults to 2, a button with text "Shuffle", and text representing two counts with an initial values of o. Other static text may be added to make the user interface clearer. D. The user is expected to enter a number in the text field. E. The value in the text field should be at most 100. Invalid values or values out of the range of [2,100] are converted to be 2. F. The two counts respectively represent the number of correct clicks and incorrect clicks by the user, with description that follows. G. When the "Shuffle" button is pressed, the number of buttons specified in the text field, n, is shown at the bottom part. The text on the buttons should be randomly assigned from 1 to n. The two counts are reset to o. H. The player plays the game by pressing the buttons in ascending number order. Correct clicks adds 1 to hit count, and incorrect clicks adds 1 to the miss count. A. This is a one-page web-based game. B. The page contains two parts, the top and the bottom, separated by a horizontal line. C. In the top part, there should be a text field which defaults to 2, a button with text "Shuffle", and text representing two counts with an initial values of o. Other static text may be added to make the user interface clearer. D. The user is expected to enter a number in the text field. E. The value in the text field should be at most 100. Invalid values or values out of the range of [2,100] are converted to be 2. F. The two counts respectively represent the number of correct clicks and incorrect clicks by the user, with description that follows. G. When the "Shuffle" button is pressed, the number of buttons specified in the text field, n, is shown at the bottom part. The text on the buttons should be randomly assigned from 1 to n. The two counts are reset to o. H. The player plays the game by pressing the buttons in ascending number order. Correct clicks adds 1 to hit count, and incorrect clicks adds 1 to the miss count
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