Spelen opens a grid of all 12 worlds with numeric g/d/F/Power and
color placeholders. Each lobby player picks their own field; the HUD
and sprites follow that planet. Selection is kept in localStorage.
Members store planet_id. Shots use the sender's planet, not a lobby
flat rate, so the client cannot cheat. Players can change planet only
while the lobby is waiting.
Five distinct shapes per world, unique filenames
(build/images/block-{planet}-{color}.png) so Tim can replace them.
Regenerate with python3 scripts/gen_planet_blocks.py.
Aurel is Power 0 (60% miss), Cinder is Power 1 (5% miss). GameCore
defaults missChance to the planet's Power formula; a third argument
still overrides it. planets.json is the single source of truth.
The group and sibling projects only have FTP credentials, so this is a
project secret. The file is written only when the secret is non-empty,
never appears in the lftp script or logs, and existing data/ is left
in place. Optional auth_client_id defaults to projects.timfalken.com.
Local PHP server, test_user_1 and test_user_2: create/join lobby,
ready, start, minis, flight tween and incoming garbage. Also checks
that live solo play still works. Screenshots go to meteors-shots.
README lists the callback path, the existing client_id and the rule
to copy (not rotate) the secret into data/config.php. ASSUMPTIONS
records poll interval, server-side missChance, flight tween, podium
and the deploy leave-alone rules.
build.sh copies the PHP endpoints into build/ (never config.php or
sqlite). The FTP mirror excludes data/ and favicon.ico, then only
puts data/.htaccess. CI runs the PHP Store tests and publishes the
PHP files as individual artifacts.
main.js talks to Online for login, lobby create/join/ready/start,
polling, opponent miniatures above the field, incoming grey garbage,
flight tweens, spectating and the 5s podium. Solo play is unchanged.
online.js is concatenated into game.js; startGame also fires the
playing transition so the host enters the match immediately.
SQLite under data/ (never deployed). Auth follows verhalenboek:
auth.timfalken.com authorization code, tokens stay on the server.
Lobbies, ready, host start, snapshots, delayed garbage delivery,
elimination, podium, and a 5s return to the lobby. Local loopback
exposes test_user_1 and test_user_2. Until a client secret is set,
the API reports configured=false so single-player can keep working.
Shot-off blocks are recorded for the multiplayer layer. Incoming garbage
falls as dark grey and recolors after the usual 3s settle. missChance
defaults to 0.30 and is a GameCore parameter for stage 3 Power.
Real CDP touch sequences (hasTouch, isMobile) cover instant grab,
immediate click tween, no-hold drag, fast swipe without skips,
diagonal column lock, and snap. Run locally; CI stays on node --test.
Document leftover-vy cleanup after grey recolor, mass-weighted
cluster merge by block count, and instant grab with no long press
(SNAP_Y, HORIZONTAL_SLOP, SWAP_DISTANCE).