I am working on card games for mobile devices. For multiplayer I will be communicating through a central server. For the purpose I sorted out three options:
- HTTP polling
- TCP
- Websocket (client libraries are not good, so will not use it)
HTTP polling is simple, but I fear it will introduce much more delay and too many HTTP calls. TCP introduces other complications.
So my question is: Is HTTP polling appropriate for a card game? Will the HTTP overhead be too much? How much interval should I keep for polling?
Can you give a sample game based on HTTP polling?