How correspondenceadg-cmyk/redaffair works
RedAffair is a text-based detective adventure presented through a Kivy app. The player enters the game through the app’s screen flow; the app connects to a monolithic game engine, whose command-driven investigation covers locations, evidence, suspects, and multiple endings. The app also provides settings, palette, cheats, and sound-test screens. The source excerpts show UI and engine responsibilities, but omit some runtime wiring, so uncertain internal calls are not drawn.
Main entry points: app.py Kivy app · game.py Adventure engine · __main__.py Package entry · audio Audio assets
Components 17
App runtime
- Package entry
src/redaffair/__main__.py - Kivy app
src/redaffair/app.py - Game screen
src/redaffair/app.py - Game UI
src/redaffair/app.py - Game I/O
src/redaffair/app.py
Detective game
- Adventure engine
src/redaffair/game.py - Location exploration
src/redaffair/game.py - Evidence investigation
src/redaffair/game.py - Suspect actions
src/redaffair/game.py - Case endings
src/redaffair/game.py
Player options
- Menu and info
src/redaffair/app.py - Settings and palette
src/redaffair/app.py - Cheats screen
src/redaffair/app.py - Sound test
src/redaffair/app.py
Game media
- Sound effects
src/redaffair/app.py - Audio assets
src/redaffair/audio
Other components
- Player
Connections 17
- Player → Kivy app: uses
src/redaffair/app.py - Package entry → Kivy app: starts
src/redaffair/__main__.py - Kivy app → Game screen: registers
src/redaffair/app.py - Game screen → Game UI: creates
src/redaffair/app.py - Game screen → Game UI: starts game
src/redaffair/app.py - Kivy app → Adventure engine: imports
src/redaffair/app.py - Game UI → Game I/O: uses
src/redaffair/app.py - Game UI → Adventure engine: connects game
src/redaffair/app.py - Adventure engine → Location exploration: implements
src/redaffair/game.py - Adventure engine → Evidence investigation: implements
src/redaffair/game.py - Adventure engine → Suspect actions: implements
src/redaffair/game.py - Adventure engine → Case endings: implements
src/redaffair/game.py - Kivy app → Menu and info: registers screens
src/redaffair/app.py - Kivy app → Settings and palette: registers screens
src/redaffair/app.py - Kivy app → Cheats screen: registers screen
src/redaffair/app.py - Kivy app → Sound test: registers screen
src/redaffair/app.py - Sound effects → Audio assets: loads sounds
src/redaffair/app.py