(Note: this project shouldn't be to tough as everything except for the actual prize wheel is already written, it will just need to be modified to work with the prize wheel)
** What is it? **
I need a "Prize Wheel" game added to my current Raffle site. The prize wheel should generate a random prize when a valid ticket number is entered. When the wheel stops spinning the winning item name, description and picture are displayed, and an automatic email is sent to the user with claiming instructions. That prize is then removed from the prize wheel.
** How does the current site work? **
The current raffle uses SQL databases to store 8 digit ticket numbers, and user accounts, the user enters a ticket number, if the ticket number is valid they are asked to enter there user name and password, or create one if they don't have one, after they have done this, it puts that ticket into the raffle, and when a certain number of tickets are reached the script randomly picks a ticket and emails the winner. It's important to note that the ticket numbers should work with either the raffle or the prize wheel, but can only be used one time!
** Prize Wheel Admin Section **
This can either be integrated into the current admin section (preferably), or have its own new section, if that makes it easier for you. The current admin section already supports adding/removing users and ticket adding/removing tickets so I will need the following features with the prize wheel.
-Odds Of Winning: I should be able to set the overall odds of winning, for example, when a ticket number is entered there is a 10% change of losing instantly, and 90% of actually winning a randomly selected prize. I want to be able to adjust this in the admin section.
-Add Prize: I will need to be able to add prizes and include, Prize Name, Prize Description, Prize Image, Prize Quantity (If there are multiple prizes of the same kind available, each time it is won the quantity is reduced),Prize Odds (larger prizes have a lower chance of being won than smaller prizes).
-Remove Prize: Self explanatory.
-Stats: Either integrated into the current stats page or in a page of its own, stats should include, how many prizes have been given away, how many prizes are left, how many spins has the wheel had, how many wins, how many losses.
-Automatic Email Options: I need to be able to customize the address it's from, what the email says, and the subject, exactly like the current email system for the raffle.
My current site is at [url removed, login to view], it's still a work in progress but it will let you see what the script looks like so far and get an idea of how it works.
If you need any further information please use the PMB.