Scrub remaining RC/Commander references from test comments
Comment-text only, zero behavior change. 32/32 tests green before and after. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
c032be2462
commit
1e213baffd
3 changed files with 8 additions and 8 deletions
|
|
@ -1,11 +1,11 @@
|
||||||
// test/landedbird.test.mjs -- RC-375D84 S-5: landed bird remains a physical body.
|
// test/landedbird.test.mjs -- landed bird remains a physical body.
|
||||||
// Commander (verbatim): "When a board is broken from underneath a bird it just
|
// 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
|
// 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
|
// 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
|
// 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
|
// as well. That is AFTER a bird has been shot from a slingshot and another bird is
|
||||||
// already active."
|
// 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.
|
// bird is a body as long as it exists.
|
||||||
//
|
//
|
||||||
// The pre-S-5 defect: spendBird() marked a settled bird 'spent' and zeroed its
|
// The pre-S-5 defect: spendBird() marked a settled bird 'spent' and zeroed its
|
||||||
|
|
|
||||||
|
|
@ -145,7 +145,7 @@ console.log('\n== ISLE SLINGERS page boot (DOM stub) ==');
|
||||||
|
|
||||||
// ------------------------------------------------------------------- tests
|
// ------------------------------------------------------------------- tests
|
||||||
test('page loads: all five modules execute without throwing (browser order)', () => {
|
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 = [
|
const FILES = [
|
||||||
'js/physics/constants/index.js', 'js/physics/state/index.js', 'js/physics/aim/index.js',
|
'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',
|
'js/physics/abilities/index.js', 'js/physics/damage/index.js', 'js/physics/step/index.js',
|
||||||
|
|
|
||||||
|
|
@ -8,13 +8,13 @@
|
||||||
import { readFileSync, readdirSync, statSync } from 'node:fs';
|
import { readFileSync, readdirSync, statSync } from 'node:fs';
|
||||||
import { dirname, join } from 'node:path';
|
import { dirname, join } from 'node:path';
|
||||||
import { fileURLToPath } from 'node:url';
|
import { fileURLToPath } from 'node:url';
|
||||||
import ISLE from '../js/physics/index.js'; // RC-375D84 S-2: physics module aggregator (was js/core.js)
|
import ISLE from '../js/physics/index.js'; // 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 levelsModule from '../js/levels/index.js'; // levels module aggregator (was js/levels.js)
|
||||||
const { LEVELS } = levelsModule;
|
const { LEVELS } = levelsModule;
|
||||||
|
|
||||||
const HERE = dirname(fileURLToPath(import.meta.url));
|
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
|
// Replaces the old hardcoded [core,levels,audio,renderer,main] file list so
|
||||||
// the syntax + DOM-wiring arms scan the real submodules, not orphaned monoliths.
|
// the syntax + DOM-wiring arms scan the real submodules, not orphaned monoliths.
|
||||||
function listJs(rootRel) {
|
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
|
// 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,
|
// box-pair solver pushed resting blocks toward each other instead of apart,
|
||||||
// so each level's structure self-destructed within seconds — "objects
|
// so each level's structure self-destructed within seconds — "objects
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue