keelerm84 / snake-js

A multiplayer implementation of snake with Node.js and HTML5 Canvas
0 stars 0 forks source link

How to handle game instances on server #4

Open sethetter opened 11 years ago

sethetter commented 11 years ago

The functionality that we want to achieve is to have multiple game instances running at different URLs. Multiple players will join a game session and compete. The number of players in a game session will be limited.

Questions:

  1. How do we want to handle creating new game instances on the server?
  2. What should the limit of players per game instance?
  3. How should we route new client connections to game instances?
sethetter commented 11 years ago

As for routing new client connections (number 3):