title: Using Pusher/Pubnub with an authoritative game server
body: <p>I'd like to build a 2-player turn based game with an authoritative server to manage the game state/logic. The flow I have in mind is something like:</p>
  
  <ul>
  <li>Players are subscribed to a unique game channel (via pubnub/pusher/something similar)</li>
  <li>Players submit their turns over HTTP directly to the game server</li>
  <li>The server runs the game logic and publishes the result to the game's channel (which both players are subscribed to)</li>
  <li>The client handles the response and renders the outcome</li>
  <li>matchmaking kind of confuses me though. Any suggestions?</li>
  </ul>
  
  <p>Is that the "right" way of using a pub/sub service in this scenraio? Is there a better approach (something other than polling the server constantly)?</p>