Hey,
I am currently thinking about a network/server solution for a turn based game. I think turn based games have a lot in common with chat applications.
So one could use a chat server, and introduce (next to the normal chat messages for ingame chat) specially formatted messages, that represents moves.
Nice, that way I could use an existing xmpp server solution, which has a lot of benefits.
But I want some features which do not exist in a chat server:
* Using existing accounts (facebook, google+) for login, as well as creating new accounts.
* Testing player moves for validity.
* Storing a game in a cloud, so that the players can return to it later.
* Sending a push notification to a player on a mobile device when that player is currently not in the game but the opponent made a turn.
I could probably archive this, buy having a chat-bot for every game currently player over which the communication for that game works.
So if a player made a move, it sends a message to the bot. The bot validates it, updates the game state in the cloud and forwards the move to all other players.
So I am asking for your experience:
Do you think that is a good Idea?
Maybe there are chat servers out there which can be extended to make what I want in some other (better) way?
Or would you approach this completely different?
Thanks!