A local draw is planned and it is proposed that clients can purchase tickets in shops. To facilitate this terminals are to be installed in the shops that can connect to a server. These terminals will provide two services: purchase a ticket and check the winning numbers when a draw has taken place. All tickets are automatically generated by the server which always returns four randomly generated numbers in the range 1..28. When a client purchases a ticket the server records the number on the ticket.

The server provides two services: purchase a ticket where the server generates a random sequence of four number in the range 1..28, stores the ticket numbers and returns the ticket to the client; allow a client to check for a winning ticket when the draw takes place. The server should be able to tell if a winning ticket has been sold.

Academic Honesty!
It is not our intention to break the school's academic policy. Projects posted are only used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly fill out the form. Please provide a valid email address and we'll get back to you in less than 24 hours. We will be sending an invoice through PayPal upon confirmation. We are a non profit organization however we need an amount to keep this organization running, and to be able to complete our research and development.