HardYards/web/world/js
m3ultra 1049dece24 Add selftest harness with one suite per lane
selftest.html only imports; each lane owns js/tests/<letter>.test.js. Five lanes
sharing one selftest.html would be the single guaranteed merge conflict in the
repo, so the stubs are pre-created with each lane's PLAN3D asserts written into
the header.

No rAF anywhere: it's throttled in a hidden tab, so a rAF-driven selftest would
pass only while you watch it. fixedLoop() drives time instead.

Lane A's suite covers the §5-A acceptance criteria, including "camera never
clips through house" — stated as the underlying invariant (no solid between the
player's head and the camera) so it survives Lane E swapping the house GLB.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 21:33:42 +10:00
..
tests Add selftest harness with one suite per lane 2026-07-16 21:33:42 +10:00
camera.js Add graybox yard, third-person camera and game shell 2026-07-16 21:33:42 +10:00
contracts.js Add contracts.js: the shared integration spine 2026-07-16 21:33:42 +10:00
main.js Add graybox yard, third-person camera and game shell 2026-07-16 21:33:42 +10:00
testkit.js Add selftest harness with one suite per lane 2026-07-16 21:33:42 +10:00
world.js Add graybox yard, third-person camera and game shell 2026-07-16 21:33:42 +10:00