Multiplayer game is it possible?

Associate
Joined
1 Mar 2006
Posts
425
hi

is it possible to make a multiplayer game on a website using PHP SQL etc

just to keep things simple for example a game of rock paper scissors between 3 people

and if it is possible would you expect much lag from the databse thats running the game?

thanks
 
It would be possible - although very clunky.

There is no push notification over IP, so you'd have to refresh the player's page, or make an AJAX request, to see if there has been a response from the other players every 5-10 seconds.

Flash is much more suited to creating online games like this.
 
i was looking at websites like madbid when you make a bid everyone else see it

how is this done without flash?

i wouldn't need anything more complex than this for my game to work
 
setInterval() plays a big part :)

multiplayer games like the streetfigter example mentioned use Flash which is duplex capable. HTTP is not. :)
 
Have a look at Rawkets.com, the creator has done loads of speeches about how he made it in HTML5 and JS.
 
Back
Top Bottom