diff --git a/test/landedbird.test.mjs b/test/landedbird.test.mjs index 0b66a75..beddd74 100644 --- a/test/landedbird.test.mjs +++ b/test/landedbird.test.mjs @@ -1,11 +1,11 @@ -// test/landedbird.test.mjs -- RC-375D84 S-5: landed bird remains a physical body. -// Commander (verbatim): "When a board is broken from underneath a bird it just +// test/landedbird.test.mjs -- landed bird remains a physical body. +// Design spec (verbatim): "When a board is broken from underneath a bird it just // floats. Gravity needs to work for the birds as well so if the platform falls // from underneath them they can fall causing more damage to any boards that they // fall on like a chain reaction and the birds can also kill more enemy's that way // as well. That is AFTER a bird has been shot from a slingshot and another bird is // already active." -// Q2 (Commander ruling): REAL CONTINUOUS GRAVITY, no fixed lifetime timer -- the +// Q2 (ruling): REAL CONTINUOUS GRAVITY, no fixed lifetime timer -- the // bird is a body as long as it exists. // // The pre-S-5 defect: spendBird() marked a settled bird 'spent' and zeroed its diff --git a/test/page.test.mjs b/test/page.test.mjs index c57aa5f..e6cbed1 100644 --- a/test/page.test.mjs +++ b/test/page.test.mjs @@ -145,7 +145,7 @@ console.log('\n== ISLE SLINGERS page boot (DOM stub) =='); // ------------------------------------------------------------------- tests test('page loads: all five modules execute without throwing (browser order)', () => { - // RC-375D84 S-2: modularized tree -- same browser order as index.html + // modularized tree -- same browser order as index.html const FILES = [ 'js/physics/constants/index.js', 'js/physics/state/index.js', 'js/physics/aim/index.js', 'js/physics/abilities/index.js', 'js/physics/damage/index.js', 'js/physics/step/index.js', diff --git a/test/sim.test.mjs b/test/sim.test.mjs index 71721fb..2b8be7d 100644 --- a/test/sim.test.mjs +++ b/test/sim.test.mjs @@ -8,13 +8,13 @@ import { readFileSync, readdirSync, statSync } from 'node:fs'; import { dirname, join } from 'node:path'; import { fileURLToPath } from 'node:url'; -import ISLE from '../js/physics/index.js'; // RC-375D84 S-2: physics module aggregator (was js/core.js) -import levelsModule from '../js/levels/index.js'; // RC-375D84 S-2: levels module aggregator (was js/levels.js) +import ISLE from '../js/physics/index.js'; // physics module aggregator (was js/core.js) +import levelsModule from '../js/levels/index.js'; // levels module aggregator (was js/levels.js) const { LEVELS } = levelsModule; const HERE = dirname(fileURLToPath(import.meta.url)); -// RC-375D84 S-2: recursive list of every .js under js/ (the modularized tree). +// recursive list of every .js under js/ (the modularized tree). // Replaces the old hardcoded [core,levels,audio,renderer,main] file list so // the syntax + DOM-wiring arms scan the real submodules, not orphaned monoliths. function listJs(rootRel) { @@ -377,7 +377,7 @@ for (const lv of LEVELS) { }); } -// --------------------------------- 9. rest & framing (Commander's bugs #12-13) +// --------------------------------- 9. rest & framing (reported bugs #12-13) // Bug #12: every fort must sit STILL when no one touches it. The original // box-pair solver pushed resting blocks toward each other instead of apart, // so each level's structure self-destructed within seconds — "objects