Re: An interesting one!!!

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: An interesting one!!!
Groups: php.general 
Request: Send a blank email to php-general+get-121124@lists.php.net to get a copy of this message
Well, I would divide it into 3 time windows. And make sure that by the end of the time windows only 1 prize has gone. Of course this is not completely random, but niether is the lotto. You could even randomize the range of your time windows so that is not the same every day? -Brad > Here is a puzzle, infact it is a game that I need to do in PHP, here is the > spec > > 3 prizes to be won every day over a month by clicking on 24 seperate > windows....and thats it > > How could I go about deciding whether a user that clicked on one of the > windows is a winner or not, obviously I wouln't want the prizes to go in the > first hour of the day, so would need to spread it out abit. > > Any ideas would be greatly appreciated????? > > Cheers, > > Tim. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#121124) next »