/* ===================================================================== LANE BANDIT — Sport on Earth Games arcade Single-file canvas game in the Family Arcade house style. EMBED (inline):
CONTROLS: tap / click a passing lane on the court, use the lane buttons, or press 1–4 as the pass is released. RULES: the opposing ball-handler runs set after set for 60 seconds. His receivers fan out along four visible lanes. Watch his eyes — the target lane flashes gold a beat before the release — then jump that lane WHILE the ball is in flight and inside the middle of the lane: a pick. Jump before the release, jump the wrong lane, or get there late and the pass completes and the offence scores. SCORING: clean pick +3 • perfect pick (dead centre of the lane) +5 • a streak of 3+ picks pays a +2 streak bonus on every pick. A completed pass resets the streak. Pass speed climbs all game. The passing team and players are the real club rosters (Sleeper snapshot: data/sleeper-rosters.json + data/sleeper-players.json); if the snapshot cannot load, generic labels step in and the game still runs. ===================================================================== */ (function () { "use strict"; /* ================= LEADERBOARD BACKEND — UPGRADE HOOK ================= Default: LOCAL board (localStorage top-10) so the game runs standalone. To switch to the shared family KV leaderboard later, set KV_ENABLED to true. The site must then serve the paper's functions/api/arcade.js with "lane-bandit" added to its GAMES list and ARCADE_KV bound — the fetch calls below already mirror that API exactly: GET /api/arcade/leaderboard?game=