It is a free 5 digit lottery application to be run on a website.
it is required to:
Let the user enter their guess and if they guess correctly they win a specified amount of money that will be automatically transferred to their bank account.
Restrict users to one guess per day.
Once someone gets it right, a new number will be generated.
Have an invite friends box, where the user enters their friends emails. for every 5 friends they invite they get another free guess, as long as the email is not already in the database and it a real email address. with a maximum of 200 friends.