How emnlfrnds/mar-abaixo-quest works
Mar Abaixo Quest is a terminal-based Seaquest-style game written in C. The user starts the game, steers a submarine, and fires; the main loop updates play and the game presents ASCII graphics, rescue and survival gameplay, and sound effects. The sampled source is partial and the game is concentrated in one file, so components represent responsibilities within that file rather than separate modules. The README documents Windows terminal support and controls; unsampled gameplay wiring is not inferred.
Main entry points: main.c World simulation
Components 11
Game runtime
- Player controls
main.c - Game loop
main.c - World simulation
main.c - Entities and spawns
main.c - Rescue and collisions
main.c - Game states
main.c
Game presentation
- ASCII rendering
main.c - Sound effects
main.c
Platform services
- Windows console
- Windows audio
Other components
- Player
Connections 9
- Player → Player controls: controls
README.md - Game loop → World simulation: updates
main.c - Game loop → ASCII rendering: renders
main.c - World simulation → Player controls: moves
main.c - World simulation → Entities and spawns: updates
main.c - World simulation → Rescue and collisions: checks
main.c - World simulation → Game states: changes
main.c - ASCII rendering → Windows console: writes
main.c - Sound effects → Windows audio: plays
main.c