server/game-group.js
function(gameId, relayServer, options) {
  options = options || {};
  this.options = options;
  this.gameId = gameId;
  this.relayServer = relayServer;
  this.games = [];  // first game is the "master"
  this.nextGameId = 0;  // start at 0 because it's easy to switch games with (gameNum + numGames + dir) % numGames
}
function(gameId, relayServer, options) {
  options = options || {};
  this.options = options;
  this.gameId = gameId;
  this.relayServer = relayServer;
  this.games = [];  // first game is the "master"
  this.nextGameId = 0;  // start at 0 because it's easy to switch games with (gameNum + numGames + dir) % numGames
}
function ( gameId , relayServer , options ) { options = options || { } ; this . options = options ; this . gameId = gameId ; this . relayServer = relayServer ; this . games = [ ] ; // first game is the "master" this . nextGameId = 0 ; // start at 0 because it's easy to switch games with (gameNum + numGames + dir) % numGames }
Represents a group of games.

Normally a group only has 1 game but
for situations where we need more than
1 game ...
Represents a group of games .