Asynchronous turn based games for social and mobile
#1 Members - Reputation: 145
Posted 09 February 2012 - 09:06 PM
So I don't want to use GameCenter, instead I would rather an independent push server app I could use/purchase, or preferably just write my own. Since I'm new to this bit of it though I'm not sure where to start. I've googled a bunch but everything just points me back to GameCenter or something similar. Any advice would be greatly appreciated on this! Thanks.
#2 Moderators - Reputation: 7539
Posted 10 February 2012 - 09:51 AM
You send a single HTTP request to the server with your information as the query parameters. Then the web page returned is text containing the data your app needs.
The web server is then responsible for handling the actual game. You can implement any number of game clients on any platform since they only need to know about the web server and the commands it supports.
#3 Members - Reputation: 107
Posted 17 February 2012 - 02:41 PM
I second this if you are looking to avoid GameCenter. That's probably my first inclination if I were to approach this. If you want overkill or you're just looking for more options, there's always RakNet or OpenTNL.
You send a single HTTP request to the server with your information as the query parameters. Then the web page returned is text containing the data your app needs.
Slightly off-topic, GameCenter will be expanding to "another platform." OS X Mountain Lion is going to have GameCenter support, which means it's a possibility for an iPad user to play a game with someone on their Mac. Not the same as a social or web experience like Facebook, but interesting none the less.
#4 Members - Reputation: 450
Posted 19 February 2012 - 05:16 AM
Slightly off-topic, GameCenter will be expanding to "another platform." OS X Mountain Lion is going to have GameCenter support, which means it's a possibility for an iPad user to play a game with someone on their Mac. Not the same as a social or web experience like Facebook, but interesting none the less.
Have you even seen the state of OpenTNL recently? I wouldn't even recommend that in the "overkill" case.
I was surprised the site was even online as it wasn't before. But it's almost worse now that the site is up again - the Sourceforge page has broken links all over the place, the "News" section leads to an odd website in German, the downloads lead to 404, heck even the documentation is 404.. etc. RakNet or even ENet would be a better choice here.
#5 Members - Reputation: 122
Posted 27 February 2012 - 08:01 PM
As people have mentioned, it is easy to have something like PHP return JSON, and use jQuery's AJAX calls to interact with them. Going one step further, you can then use Backbone or JMVC to incorporate templates.
#6 Senior Moderators - Reputation: 4722
Posted 27 February 2012 - 08:15 PM
Tristam MacDonald - SDE @ Amazon - swiftcoding [Need to sync your files via the cloud? | Need affordable web hosting?]
#7 Members - Reputation: 436
Posted 03 March 2012 - 11:25 AM
You also might like this 48 hour competition scrabble MMO http://www.startupmonkeys.com/2010/09/building-a-scrabble-mmo-in-48-hours/ it utilizes mongoDB's "Geo Spatial" indexing to:
MongoDB geospacial indexing was a lifesaver here. We are able to store every tile thats placed on the board by its x,y coordinate and query a bounding box whenever someone changes their view. The resulting queries are ridiculously fast, even with a tile collection approaching over 90 thousand. Once we get too big for that, scaling is going to be dead simple given we can just use modular arithmetic to produce a shard key.
#8 Members - Reputation: 101
Posted 01 April 2012 - 03:44 PM
It has cross platform libraries (iOS and Android) and supports REST so you can use it with anything. Supports push notifications and offline sending of messages (You create the message to send and the library will save it transparently and upload it next time you get a connection)
Check it out here: www.parse.com
Regards,
James Mintram
#9 Members - Reputation: 285
Posted 03 May 2012 - 01:12 AM
There are also several other platform as services that are similar to Parse such as Kinvey, Pubnub and TrestleApp. These kinds of service seem to be pretty big this year with VCs giving funding to a new one every couple of weeks.






