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).
Clear launch leftovers when a landed grey group recolors, and drop
unsupported blocks before matching, so they fall from rest instead of
shooting off the top. A genuine new match still uses normal jump
physics. Overlapping flying clusters merge with a mass-weighted
average velocity (by block count). Grab is instant on pointerdown —
no long press or hold delay — with nearest-block snap, horizontal
slop, and accumulated per-tile swaps (minimal SWAP_DISTANCE, fast
swipes do not skip).
Foreign files already on the remote are logged and left alone, because
the mirror never uses --delete. favicon.ico is excluded from the upload
so a host- or Tim-provided icon is not overwritten.
Falling cargo on flying clusters, rigid grey landing, smooth apex
descent, air-resistance bounce, top-block manual launch, and the
Click Tween press-scale on a selected block.
A held block scales with easeOutBack to 80% in 150 ms and eases back
with easeOutElastic in 720 ms. Landings play a subtle squash/rebound
whose speed follows the planet's air resistance. Pointer move/up is
tracked on the window so mouse and touch can launch past the canvas.
Falling blocks land on a flying cluster and ride with it. Grey clusters
keep relative positions when they land, hanging over gaps until they
recolor, then fall individually. Jump descent eases into fallSpeed.
The already-topmost block launches after a short upward pull. Landing
sets a visual bounce flag whose duration is a planet parameter.
fallAccel and bounceDuration are faster at low air resistance
(fallTime). Easing curves and 150 ms / 720 ms / 0.8 scale copy the
defaults of Tim's KWin Click Tween (Qt QEasingCurve overshoot 1.70158).