Posted by musiitwa joseph, 2015-04-15 at 06:00:39
In this project, the administrator generates codes that will be printed on crowns. We assume that the customer/consumer will find the code in crown after taking soda. He/She creates an account, logs in and submits the code. The more valid codes the consumer enters the more chances of winning. Ten chances are given for an invalid codes, when these chances are done the account is banned from submitting codes.
The administrator can add prizes which will be taken by 10 consumers who have the highest number of valid code submitted. Getting of the prize is random.