How ikigaiw0w/survivorio works
Hordefall is a dependency-free browser horde-survival roguelite. The player uses the hub to configure a run, then survives auto-attack combat, gathers XP and gold, chooses upgrades, completes quests and rolling objectives, and returns to persistent progression. The graph separates hub and progression, run systems, and presentation from shared runtime helpers. Relationships are limited to those shown in excerpts or documented in the README; some game-to-run wiring is not visible in the sampled engine excerpt.
Main entry points: game.js Game Engine · ui.js Hub UI · index.html Game Page · meta.js Meta Progression
Components 13
Hub and Progression
- Game Page
hordefall/index.html - Hub UI
hordefall/js/ui.js - Meta Progression
hordefall/js/meta.js - Save Store
hordefall/js/util.js - Browser Storage
Run Systems
- Game Engine
hordefall/js/game.js - Weapons and Abilities
hordefall/js/weapons.js - Run Upgrades
hordefall/js/upgrades.js - Quest and Objective Tracker
hordefall/js/objectives.js
Player Presentation
- Synth Audio
hordefall/js/audio.js - Character Sheet and Log
hordefall/js/rpgui.js
Runtime Support
- Math and Collections
hordefall/js/util.js
Other components
- Player
Connections 14
- Player → Game Page: opens
README.md - Game Page → Hub UI: hosts hub
README.md - Hub UI → Meta Progression: manages loadout
hordefall/js/ui.js - Meta Progression → Save Store: loads and saves
hordefall/js/meta.js - Save Store → Browser Storage: reads and writes
hordefall/js/util.js - Hub UI → Game Engine: starts run
README.md - Game Engine → Weapons and Abilities: runs combat
- Game Engine → Run Upgrades: offers powers
- Game Engine → Quest and Objective Tracker: tracks run goals
- Game Engine → Synth Audio: plays effects
hordefall/js/game.js - Hub UI → Synth Audio: plays UI sounds
hordefall/js/ui.js - Player → Character Sheet and Log: opens character sheet
README.md - Character Sheet and Log → Weapons and Abilities: reads weapon stats
hordefall/js/rpgui.js - Game Engine → Math and Collections: uses spatial hash
hordefall/js/game.js