Game

The top-level game file, the one that describes the whole of Chess rather than any one player, instance or entity. Chess has just one: its config. (A game may also carry a gamehoster-game-startup.js; Chess does not.)

gamehoster-game.json

The whole config: the title, that players are dropped straight in (no browse or create screen), a modest 10/s simulation and send rate (chess is turn-based, so it needs no fast loop), and a capacity of 2, the two seats of a single match.

{
  "gamehoster-game-title": "Chess",
  "gamehoster-game-browse": "none",
  "gamehoster-game-create": "none",
  "gamehoster-game-tickRate": 10,
  "gamehoster-game-sendRate": 10,
  "gamehoster-game-capacity": 2
}
chess/gamehoster-game.json