Question: PLEASE HELP ME OUT implement a simple number guessing game using HTML forms and a CGI script. The HTML page should introduce the game and

PLEASE HELP ME OUT

implement a simple number guessing game using HTML forms and a CGI script. The HTML page should introduce the game and provide a form for the user to guess a number. When the form is submitted, the target CGI script should check for cookies containing the number to be guessed and the number of guesses so far. If the cookies dont exist, the script should generate a new number to guess and initialize the guess counter. The script should return an HTML form indicating whether the guess was high, low, or correct. The form should also indicate how many guesses so far, and allow the user to enter another guess. The script should also send the two cookies. When the user has guessed correctly, the script should generate a new value for the number-to-be-guessed cookie and reset the guess counter cookie.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!