Question: html , css and javascript Part 2. This part is a game that the user can play. The game starts with just two buttons Start

html , css and javascript
Part 2. This part is a game that the user can play. The game starts with just two buttons "Start Game" and "Stop Game". When the user clicks on the button "Start Game", a prompt window appears and asks the user to choose an integer between 0 and 9. Then every two second, three random numbers (between 0 and 9) will be generated and flashing on the screen. The three random numbers should not repeat (i.e. can't have repeating numbers -4 7 4). The user has to click on the number that was previously chosen to win 1 point. If the user clicks on the wrong number, then 1 point is deducted. Therefore, the game score can become negative if the user clicks on many wrong numbers. The number that the user chosen is displayed in green. The game score is displayed in red. The three random numbers must be in red, orange and blue color. The game score must be updated in real- time as the user playing the game. Start Game Stop Game Your chosen number is: 7 Your score so far:0 4 7 0 When the user clicks on the button "Stop Game", then the game is stopped. The screen must be remain the same with the chosen number, the current score, the last 3 random numbers unchanged. When the user clicks on the "Start Game", then a new game is generated. A prompt window appears and asks the user to choose a new number. And then the score will be reset to 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
