How calab/coco_crypts_of_vael works
Crypts of Vael is a CoCo 3 first-person dungeon-crawl game, not a web service. The player enters seeded or random runs, issues typed commands to explore five generated crypt levels, manages light and equipment, fights monsters, and seeks the Hollow King’s crown. The README documents rendering, sound, monitor selection, and banked-memory loading; source excerpts focus on asset-generation tools rather than gameplay assembly, so runtime subsystem links are documented at README level and not presented as inspected call chains.
Main entry points: main.asm Game entry · cmd.asm Typed commands · sim.asm Game simulation · attack.asm Combat
Components 20
Game play
- Game entry
src/main.asm - Typed commands
src/cmd.asm - Combat
src/attack.asm - Items and pack
src/items.asm - Status display
src/status.asm
Crypt world
- Maze generation
src/mazegen.asm - Map and level
src/map.asm - Monster behavior
src/monsters.asm - Game simulation
src/sim.asm
Display and sound
- Dungeon view
src/view.asm - Vector drawing
src/draw.asm - Attack pictures
src/fxpics.asm - Sound effects
src/sound.asm - Win/lose tunes
src/tune.asm
CoCo platform
- Banked game data
src/dload.asm - Memory banks
src/bank3e.asm - Keyboard and timing
src/low.asm
Other components
- Player
- 6-bit DAC
- CoCo 3 player
Connections 21
- Player → Game entry: starts game
README.md - Player → Typed commands: types commands
README.md - Game entry → Typed commands: accepts input
README.md - Game entry → Maze generation: starts seeded run
README.md - Game entry → Banked game data: loads game data
README.md - Typed commands → Game simulation: applies actions
README.md - Typed commands → Combat: dispatches attacks
README.md - Typed commands → Items and pack: dispatches item use
README.md - Game simulation → Map and level: updates level state
README.md - Game simulation → Monster behavior: advances monsters
README.md - Maze generation → Map and level: builds five levels
README.md - Typed commands → Dungeon view: requests look
README.md - Dungeon view → Vector drawing: draws scene
README.md - Combat → Attack pictures: shows attack pictures
README.md - Game entry → Status display: shows status
README.md - Game simulation → Sound effects: plays effects
README.md - Game entry → Win/lose tunes: plays ending tunes
README.md - Sound effects → 6-bit DAC: outputs samples
README.md - Game entry → Keyboard and timing: runs own interrupts
README.md - Banked game data → Memory banks: copies into banks
README.md - CoCo 3 player → Game entry: runs game
README.md