Game

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

gamehoster-game.json

The whole config: the title, that players are dropped straight in (no browse or create), the 30/s simulation rate and 15/s send rate, and up to 50 players in one arena.

{
  "gamehoster-game-title": "Asteroids",
  "gamehoster-game-browse": "none",
  "gamehoster-game-create": "none",
  "gamehoster-game-tickRate": 30,
  "gamehoster-game-sendRate": 15,
  "gamehoster-game-capacity": 50
}
asteroids/gamehoster-game.json