I have the design done already, so all I need is the buttons to be functional AND very efficient. It must not take alot of resources, as i expect over 200+ to be playing games at a time,
I need three games done, and credit system.. The three games are called:
Roll a dice Up : Roll a 100 percentile dice, roll over 50 and you win your bet.
Over or under : Roll two six sided dice, depending on your following choices, you win your bet. If you choose over, you have to roll over 7 to win your bet, if you choose under you have to roll under 7 to win your bet. If you choose "7", you have to roll a 7 to win the bet.
Dice duel - You place a bet, it goes into this list where it places your username, bet amount. Anyone else visiting the website can "Bet against you" on this bet, if they click the "Bet against me" button. Afterwards, both players roll a two six sided dice, whoever rolls the highest wins the bet.
Withdrawl function - Places the user in a withdrawl state where they can no longer bet... In the DB, their state would be "withdrawl" and would have the amount they want to withdraw in column.
Deposit function - Places user in a deposit state where they cannot bet anymore. It would place them in the "Deposit state" in the DB.
Chat System - Real time chat using [url removed, login to view]
These games may sound complicated at first, if not that's awesome. I can explain it further to you if you don't get it.