I would like a script for a website. The script I want must be able to give any user that registers 10 virtual credits, and with them the user can play at the lottery or the wheel of fortune. The user must be able to give a number of virtual credits to be able to play one game at the lottery or the wheel of fortune. I want that the user be able to choose numbers from 1-50, pick 6 of them and at a set time of the day, the numbers will be extracted randomly. If the players gets 4 of the 6 he will win a number of credits. Likewise the wheel of fortune must be able to give the player that turns it a number of credits if the player wins it, or other gifts available.
I want the user to have an account balance for the virtual credits, and one section - payment section, where he will be able to convert those credits into $ , or gold - gold will be used to purchase other gifts.