Game
The top-level game files, the ones that describe the whole of Pong
rather than any one player, instance or entity. Pong has just one: its
config. (A game may also carry a
gamehoster-game-startup.js; Pong does not.)
gamehoster-game.json
The whole config: the title, that players are dropped straight in and paired automatically (no browse or create), the 60/s simulation rate and 20/s send rate (fast enough to keep the ball smooth), and a capacity of 2, so each instance is exactly one match.
{
"gamehoster-game-title": "Pong",
"gamehoster-game-browse": "none",
"gamehoster-game-create": "none",
"gamehoster-game-tickRate": 60,
"gamehoster-game-sendRate": 20,
"gamehoster-game-capacity": 2
}