I need to make a game that follows these guidelines…
The computer chooses a random number from 0-10 (0 and 10 included). Using a radio button interface, the user should decide if the next number will be larger or smaller than the one shown. After the user submits their first answer, a new element should appear at the top indicating the conclusion of the game the user just played.
if the two random numbers match, the computer gets a point. If the user guesses correctly, the user gets a point. If the user guesses incorrectly, the computer gets a point.
Every 5 rounds the game should ask the user to guess the next number exactly. If the user guesses correctly they get 5 points. If they guess incorrectly the computer gets one point.