5 comments found.
This is looking very amazing you can see the project sewing machine and embroidery where ,this kind of idea would be very useful.
Hi there, i have website that runs in php (players profile with coins from mysql etc) can i work html5 with php together so that the credits will take from php/mysql DB ?
Hi! Yes, but would require a rewrite so that all game decisions come from the server (i.e., deck shuffling, credit spending, credit awarding, etc.)
hmm but it cant be done that it only take the credits and winnings ? bc if it can be done i am very interested, i have now all flash games slots (15 of them) and now that flash will be gone in the next upcoming year i need to go to HTML5. So from a oldskool php and swf freak this is a lot bigger then i was thinking… so i am looking for new slots for my website and hoping that with a small modified script the slot of you use just the credits that came from a mysql db and the winnings.. gr ron
The frontend is not secure. If the shuffle/win logic is done in the frontend, and you’re pushing and pulling credits from the backend, I could simply push royal flushes to your server over and over to amass credits.
is full source code included?
Yes
Hi, you can control the % of payout? Thanks.
// Payouts (in credits) this.payouts = { natural_royal: 2000, four_deuces: 500, royal: 300, five: 150, straight_flush: 40, four: 15, full_house: 5, flush: 3, straight: 2, three: 1, nothing: 0 };
I’m interested in using this as a starting point for a project. I’m trying to extend this into a 5×4 casino game. What data structures are you using here?
Objects and arrays (?)—feel free to be more specific with your question.