How junaed93/hollow-hunger works
Hollow-Hunger is a Pygame maze-survival game. The player starts or restarts a run, navigates levels while avoiding enemies and collecting items, and reaches an exit portal; the game loop updates state and renders the playfield and HUD. The single sampled source file also contains menu, touch controls, and pathfinding. The excerpts show rendering, event handling, enemy damage, and gameplay-music loading, but omit much of level setup and progression, so those connections are not expanded here.
Main entry points: main.py Game Loop · hitslab-scary-horror-dark-music-385468.ogg Gameplay Music
Components 11
Game Runtime
- Game Loop
main.py
Maze and Actors
- Player
main.py - Enemies
main.py - Pathfinding
main.py - Coins and Soul Orb
main.py - Exit Portal
main.py
Player Interface
- Keyboard and Touch
main.py - World Rendering
main.py - HUD and Screens
main.py
Audio Assets
- Gameplay Music
hitslab-scary-horror-dark-music-385468.ogg
Other components
- Player
Connections 11
- Player → Keyboard and Touch: provides input
main.py - Keyboard and Touch → Game Loop: changes game state
main.py - Game Loop → Player: applies damage
main.py - Enemies → Pathfinding: finds paths
main.py - Game Loop → World Rendering: draws world
main.py - World Rendering → Player: draws
main.py - World Rendering → Enemies: draws
main.py - World Rendering → Coins and Soul Orb: draws
main.py - World Rendering → Exit Portal: draws
main.py - Game Loop → HUD and Screens: draws interface
main.py - Game Loop → Gameplay Music: loads and plays
main.py