Compare commits

...

1 Commits

Author SHA1 Message Date
Alexander Whitestone
88224b5d4d fix: chore: move dormant prototypes to reference/ directory (closes #197)
Some checks failed
Accessibility Checks / a11y-audit (pull_request) Successful in 11s
Smoke Test / smoke (pull_request) Failing after 21s
2026-04-15 22:31:08 -04:00
2 changed files with 22 additions and 0 deletions

View File

@@ -1,3 +1,14 @@
/**
* DORMANT PROTOTYPE moved from scripts/guardrails.js
*
* Why dormant: Has inline test code at the bottom not production-ready
*
* To integrate (future):
* 1. Remove inline test code
* 2. Add <script src="reference/guardrails.js"> to index.html
* 3. Wire into game engine lifecycle
* 4. Add tests
*/
/**
* Symbolic Guardrails for The Beacon

View File

@@ -1,3 +1,14 @@
/**
* DORMANT PROTOTYPE moved from game/npc-logic.js
*
* Why dormant: Uses ES module syntax (export default) incompatible with <script> tag loading
*
* To integrate (future):
* 1. Refactor to remove ES module exports
* 2. Add <script src="reference/npc-logic.js"> to index.html
* 3. Wire into game engine lifecycle
* 4. Add tests
*/
class NPCStateMachine {
constructor(states) {