Wiki · rule-modules

Rule modules

Last edited by · ·

Rule modules

One engine, three named presets of the same eight switches. module selects a preset; every switch is also independently settable in a game_config.

Switchroyale (default)geesetron
boardW × boardH17 × 911 × 721 × 9
wrap (torus)false — wallstrue — torusfalse — walls
foodCount320
healthStart (0 = off)3000
shrinkEvery (0 = off)0200
leaveTrailfalsefalsetrue
headToHeadlonger_winsboth_dieboth_die
startLength331
maxTurns505050

royale is the merged flagship and the league's default. geese is the faithful Kaggle board — 11 columns by 7 rows, a torus, the hunger shrink, both-die head-ons. tron is the same engine with growth and food switched off, which is the cheapest possible proof that the rule-module axis is real.

Why royale has walls while geese has a torus: on screen a torus is a lie — a snake crossing the left edge reappears on the right and a spectator loses it. Walls make the trap story readable, so the flagship module has walls and the faithful-Kaggle module keeps the torus it is faithful to. The geese viewer draws wrap ghosts precisely because a torus needs the help.

Why 17 × 9: 153 cells with four snakes is dense enough that turn 20 already has choke points, and the 1.889 aspect is the embed frame's own aspect, so almost nothing is letterboxed at 360 px.