View Full Version : Website Games

12-04-2009, 03:52 PM
I have a website and I am looking at putting a few quality games on it. I was thinking an online poker game, rpg, and a few others... I want a gooed mix of games put again I am not a gaming website. The main feature that I am trying to get is that when a customer of the site plays the games I would like them to earn credits. The customer at the end of the month with the most credits will receive a cash prize. Also maybe we could have a leaderboard or something too so that other customers can see that it is actually legit. If you have any resources thath you can think of or you know of something fairly close to what I am talking about please let me know.

Philip M
12-04-2009, 05:04 PM
What you require can only be done with server-side coding, not JavaScript.

It is your responsibility to die() if necessary….. - PHP Manual

12-04-2009, 05:07 PM
Ok... thanks... I figured that but I just wasn't sure... Mods Please Close Threads

Old Pedant
12-04-2009, 09:43 PM
More accurately, the actual gameplay would be via JavaScript, but coordinating between multiple players, keeping track of "points", awarding monthly prized, et al., has to be done server side. Could be PHP or JSP or ASP or ASP.NET or or or...

However, to be a really effective multiplayer game--such as the big sites use--you probably would *not* want to use browser-based code. I created a poker game, for example, and it worked via the browser. But the response time is nowhere near as good as, say, PokerStars.net, because they make you download a custom program to your machine. And they can handle thousands of games per minute, whereas mine using an ASP server engine would have been struggling to handle more than maybe a dozen simultaneous games.