Removes internal process references so the repo is presentable to an outside audience: dropped the internal build-retrospective doc (process log with internal terms, not useful to an outside reader), and reworded remaining internal references in code comments and module docs (agents.md cards, architecture.md, MODULES.md, index.html, package.json) to generic descriptions of what changed and when, with no behavior change -- full 47/47 suite re-run green after the scrub, every edit verified comment/doc-only via diff. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
15 lines
891 B
Markdown
15 lines
891 B
Markdown
# js/physics/constants/ — agents.md
|
|
Part of the modularization pass. Module map: `MODULES.md`; runtime model: `architecture.md`.
|
|
|
|
Installs into `P`: WORLD, VIEW, MATERIALS, BIRD_TYPES, ENEMY_TYPES, GRAVITY,
|
|
LAUNCH_POWER, MAX_PULL, MIN_PULL, AIR_DRAG, BIRD_BOUNCE, BIRD_GROUND_FRICTION,
|
|
REST_SPEED, SETTLE_TIME, BIRD_MAX_AGE, ABILITY_CD, BIRD_BONUS.
|
|
|
|
- Leaf submodule: consumes nothing from `P` — it may be loaded first (and in the
|
|
browser it is).
|
|
- MATERIALS / BIRD_TYPES / ENEMY_TYPES are the **balance tables**: hp, dmgFactor,
|
|
density, speed, bonus. The balance spec (`test/balance.test.mjs`) pins the
|
|
per-material break budget and enemy kill budget — change a table value only
|
|
with a matching spec update and a watched RED->GREEN.
|
|
- WORLD.w / WORLD.ground (2400 x 900 surface) and VIEW (1280x720 design
|
|
resolution) are the spatial contract; render and camera assume them.
|