How ninja-ops-guy/techops-hero works
TechOps Hero is a browser-based roguelite help-desk RPG. The principal play loop moves from caller communication and investigation through evidence-based diagnosis, remediation, verification, documentation, and rewards; after 16:00, players can enter the separate Night Crawl platform-combat mode. The README also documents management, workforce, progression, home upgrades, and campaign/story content. The tree and sampled excerpts support the named modules, but most runtime source was not sampled, so subsystem wiring is shown only where the README describes a workflow or the sampled code documents ownership.
Main entry points: game.js Game Runtime · runtime_hud.js Management Console · runtime_night.js Night Runtime · apt.js Caller Tickets
Components 21
Ticket Gameplay
- Game Runtime
game.js - Caller Tickets
apt.js - Interview Process
state_validator.js - Evidence Battles
night_combat.js - Ticket Resolution
campaign_runtime.js - Teams Phone
ui_kit.js
IT Management
- Management Console
runtime_hud.js - Workforce
npcs.js - Career Progression
good_boys_progression_authority.js - Campaign State
good_dogs_campaign_state.js - World Scenes
rooms.js
Night Crawl
- Mode Router
production_mode_router.js - Night Runtime
runtime_night.js - Night Controls
night_combat_input.js - Combat Audio
runtime_combat_audio.js
Story Campaign
- Story Campaign
campaign_story.js - Cinematics
cinematic_systems.js
Presentation Assets
- Campaign Assets
campaign_assets.js - Asset Registry
production_asset_registry.js - Scene Art
runtime_scene_art.js
Other components
- Player
Connections 20
- Player → Game Runtime: starts play
- Game Runtime → Caller Tickets: runs tickets
- Caller Tickets → Interview Process: opens investigation
- Interview Process → Evidence Battles: informs diagnosis
- Evidence Battles → Ticket Resolution: supports resolution
- Game Runtime → Teams Phone: opens phone
- Game Runtime → Management Console: opens console
- Management Console → Workforce: manages staff
- Management Console → Career Progression: unlocks perks
- Career Progression → Campaign State: updates campaign
- Game Runtime → World Scenes: presents world
- Player → Mode Router: selects mode
- Mode Router → Night Runtime: routes night mode
- Night Runtime → Night Controls: reads controls
- Night Runtime → Combat Audio: plays combat audio
- Game Runtime → Story Campaign: runs story
- Story Campaign → Cinematics: presents scenes
- Game Runtime → Asset Registry: loads assets
- Asset Registry → Campaign Assets: indexes assets
- Game Runtime → Scene Art: renders scenes