Reputation: 21
I would like to make a multiplayer game on the app engine. And the channel api gives me another reason to choose the app engine over a lot of other services. Has anyone tried this?
I understand how about go about a turn based game but I am stuck on how to go about something that has multiple users each contributing to others users experience. Any help would be appreciated.
Upvotes: 2
Views: 1872
Reputation: 927
Take a look at the Channel API, it has a very good description of what it's current capabilities are.
The TIC TAC TOE example project (created by moishel, one of the creators of google's Channel API) contains a two player game that utilizes the Channel API. It uses the Channel API to communicate game states to both players. Mind the "Caveats" section -- "One Client Per Client ID" and "One Client Per Channel Per Page".
Upvotes: 2
Reputation: 2968
I have a prototype implementation details of multiuser chat room (or a game room) on my blog post at http://blog.myblive.com/2010/12/multiuser-chatroom-with-app-engine.html. This and the second part of post http://blog.myblive.com/2011/01/multiuser-chatroom-with-app-engine.html shall be able to tell you pretty much about the implementation details.
Upvotes: 2
Reputation: 18139
Interesting read over here at the appengine blog about a real time game on appengine...
http://googleappengine.blogspot.com/2010/04/games-on-app-engine-interview-with-jay.html
Upvotes: 4