Noob question

I havent really started in Corona yet but one thing I am curious about is how I would go about exchanging information between two players.

ie- I start a game by sending an invite to two friends, those 2 friends accept and the game begins;
player 1 plays row2-column7, a message is sent (email, sms, w/e) to the other players

player 2 starts up the game app, which gets the current game state (from where?) and plays row3-column 5, a message is sent (email, sms, w/e) to the other players

player 3 starts up the game app, which gets the current game state (from where?) and plays row2-colum4, a message is sent (email, sms, w/e) to the other players
etc
etc

Where would I store the current game state, how would each players client get the current game state and send their moves back?

Would I need to host my own DB server and implement my own methods for sending and receiving game messages or is something like this already implemented in Corona?

Thanks in advance!

[import]uid: 115665 topic_id: 19984 reply_id: 319984[/import]

michaelmcole,

You can use pubnub, search on the Share Your Code part of this website, and you’ll find examples

Jürgen [import]uid: 19590 topic_id: 19984 reply_id: 77824[/import]

jpenne,
Awesome, thank you! Altho, I don’t know how I would have ever found that on my own, I tried going thru the ‘Documentation’ and ‘API’ sections and could not find anything there…(and still cant) [import]uid: 115665 topic_id: 19984 reply_id: 77831[/import]

Here you go,

http://developer.anscamobile.com/code/multiplayer-networking [import]uid: 19590 topic_id: 19984 reply_id: 77835[/import]

PubNub is great for role playing games but is horrible for real time games. Make sure to take that into account. [import]uid: 29181 topic_id: 19984 reply_id: 77845[/import]