Guessing Game Using CGI Script

Guessing Game Using CGI Script

Scenario/Summary

Your assignment is to implement a simple number guessing game using HTML forms and a CGI script.

Deliverables

Submit a Word document which contains the following: screen shots of multiple active clients, cover sheet, and all your source code.

Benefits

Understand CGI scripts using in a HTML form.

Required Software

This Lab will use the following Lab Resources:

  • Virtual Lab – Citrix
  • Adobe Creative Cloud

Lab Steps

Implementation

  • Design an HTML page with a form for the user to guess a number.
  • The form is submitted by the user, then target CGI script should check for cookies containing the number to be guessed and the number of guesses so far.
  • If the cookie doesn’t 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.

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper