/* ===================================================================== THREE-POINT SHOOTOUT — Sport on Earth Games arcade Single-file canvas game in the Family Arcade house style. EMBED (inline):
Or serve the matching three-point-shootout.html wrapper in an iframe. CONTROLS: drag / ◀ ▶ arrows to slide along the arc. Hold (pointer on court or SHOOT button, or hold Space) to charge the power meter, release to shoot. SCORING: 60 seconds. Make = 2 pts. Make from a gold money spot = 4. Streak of 3+ = ON FIRE: green zone widens, +1 bonus per make. ===================================================================== */ (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 "three-point-shootout" added to its GAMES list and ARCADE_KV bound — the fetch calls below already mirror that API exactly: GET /api/arcade/leaderboard?game=