forked from github/game-off-2012
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Server needs to do a lot of things, since it acts as the "source of truth" for the game.
- Need multiple channels, E.g. private games between friends, and matchmaking games.
- To "do it right", keep the connections open and stream JSON messages back and forth from the clients.
- Easy mode: Use PubNub instead of open connections: http://www.pubnub.com/
- Keep track of which users are connected to which channels, so messages can be dispatched appropriately.
The first iteration of the server will probably just dispatch every message it receives. A more complete server would parse the messages and act upon them appropriately; maybe dispatching, and maybe modifying the message before dispatching.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels