Files
the-beacon/reference/README.md

19 lines
544 B
Markdown
Raw Normal View History

# 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