Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been looking into web services for making multiplayer games and was just wondering how feasible would it be?

What I would like to do is make a simple MMORPG that uses a turn based fighting system, are there any inherent limitations with web services which would make this difficult and not worth my time?

Also out of curiosity would a faster paced multiplayer game be workable using web services? Something like a top/down shooter similar in pace to games like asteroid?

share|improve this question
In order to accurately answer this question, we'd need to know the number of players you expect to be logged in simultaneously. – Jordaan Mylonas Aug 31 '11 at 13:10
For faster paced games, a web service is probably not the best option. – thedaian Aug 31 '11 at 13:55
web services are somewhat monodirectional, how are you going to react to server-generated events? by polling? – FxIII Aug 31 '11 at 15:24
@Jordaan Mylonas well proabbly no more than 100 to 200 peeps, but what if it became an incredibly successful game with tens of thousands of users? Would web services just fall apart? – meds Aug 31 '11 at 15:27
@FxIII Well I figured web service functions could be called to keep the game up to date with everything. Like a call to a web serive every update cycle in the game to grab wahtever changes has happened in the server.. – meds Aug 31 '11 at 15:28

To be able to handle the number of simultaneous users that you intend to, for any game relying on realtime interaction, you'd typically need a dedicated server with a mighty strong/fast connection, running a direct tcp/ip connection to each client.

Even for something turn based, such as chess or magic the gathering, if you tried to implement an RPC or REST (http tunnelling) service, the resulting speed drop with 200 simultaneous connections to a single server would degrade the user experience to the point of frustration.

share|improve this answer

You should look into Electro Server, or if you can dumb down the design a bit and make everything play asynchronously like a lot of facebook games do then using a RESTful webservice setup can work very nicely... Otherwise Jordaan Mylonas said it all pretty well.

share|improve this answer

the throughput is important and by using a web service, you will increase the size of the message by unnecessary information inside your header messages. I would advise you to make your own customize web service over a tcp or udp connection.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.