Files
the-beacon/reference/README.md
Alexander Whitestone aadd8109f0
Some checks failed
Accessibility Checks / a11y-audit (pull_request) Successful in 14s
Smoke Test / smoke (pull_request) Failing after 24s
chore: move dormant prototypes to reference/ directory
- game/npc-logic.js → reference/npc-logic.js (added REFERENCE PROTOTYPE header)
- scripts/guardrails.js → reference/guardrails.js (added REFERENCE PROTOTYPE header)
- New reference/README.md with integration instructions

Closes #196
2026-04-15 21:45:53 -04:00

544 B

reference/

Dormant prototypes not loaded by the browser runtime.

Files

File Why dormant
npc-logic.js Uses ES module syntax (export default) — incompatible with <script> tag loading
guardrails.js Has inline test code at the bottom — not production-ready

To integrate

  1. Refactor to remove ES module exports (npc-logic.js)
  2. Remove inline test code (guardrails.js)
  3. Add <script src="reference/filename.js"> to index.html
  4. Wire into game engine lifecycle
  5. Add tests