Post Reply

Multiplayer capabilities

OP sensboston

30th April 2012, 04:10 PM   |  #1  
OP Recognized Developer
Flag Boston, MA
Thanks Meter: 426
 
1,493 posts
Join Date:Joined: Nov 2009
Donate to Me
More
Hello.

I have a question to developers with practical experience: what is the easiest way to add network multiplayer capabilities to the turn-based, peer to peer game. Of course I'm looking for free or cheap service; or for open source server solution what I can host on my own (paid but basic) Linux/ASP hosting.

P.S. I know how to do it yourself but trying to save my time.
1st May 2012, 08:56 AM   |  #2  
Recognized Developer
Flag Seattle
Thanks Meter: 2,712
 
5,739 posts
Join Date:Joined: Jan 2011
More
Well, if you want true peer-to-peer, you wouldn't be using any kind of hosting service at all. However, since most mobile operators firewall incoming connections to phones, and since the official APIs are very short on any kind of proper server socket (you can send or receive UDP broadcast, I think?) that would limit you to a mildly crippled WiFi-only network.

Even if you just want to use a central server for matchmaking and scorekeeping and such, you'll run into the same problems as above - you could find people across a larger range than WiFi, but you couldn't actually play with them. If having everybody connected to the same WiFi network is an unacceptable limitation, I'm not sure peer-to-peer is practical.

For something robust enough to handle actual multi-player gaming, I'd suggest going with a "cloud" provider (Azure, AWS, Rackspace, whatever). That doesn't cover the actual software, of course, but hopefully somebody else knows of a good solution there.
1st May 2012, 02:16 PM   |  #3  
OP Recognized Developer
Flag Boston, MA
Thanks Meter: 426
 
1,493 posts
Join Date:Joined: Nov 2009
Donate to Me
More
GoodDayToDie, as for custom implementation (if I don't find any "ready to go" solution) I thought about very simple ASP .NET service with send and receive connectors (that solution works pretty fast, easy and stable with WP7, already tested) hosted on $10-20 ASP hosting (there are bunch of cheap ASP .NET hosting in the internet). Azure is too expensive and too big for that purpose (although I received some months/may be year for free because of my BizSpark account - if you have your own company and fit the BizSpark requirements, I recommend you to open BizSpark too)

As for "peer-to-peer" - sorry, it was incorrect sentence. I just mean that turn-by-turn game will have only two players per session/game Of course because of IP limitations I should use client-server architecture. But I'm trying to find any existing free/cheap solution (I believe Android and iPhone multiplayer games also needs that kind of service) to save my time for coding/debugging server side.
11th May 2012, 05:43 AM   |  #4  
the0ne's Avatar
Senior Member
Flag Melbourne
Thanks Meter: 52
 
843 posts
Join Date:Joined: Jan 2007
More
would this help : http://www.bestwp7games.com/exit-gam...yer-games.html
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes