How ilies1511/fop_project_maze_runner works
Maze Runner is a libGDX top-down vampire maze game. The player selects a mode, enters a maze, navigates hazards and enemies, collects keys, and reaches the unlocked exit; the game tracks outcomes and supports saving progress. The graph preserves the documented story, level, and endless modes plus achievements, leaderboard, progression, console, and settings. GameController is the central gameplay coordinator; source excerpts are partial, so less-visible subsystem links are included only where the README documents them.
Main entry points: GameController.java Gameplay controller · Player.java Player · Collectable.java Collectibles · GameField.java Maze field
Components 24
App and modes
- Game lifecycle
core/src/de/tum/cit/fop/maze/MazeRunnerGame.java - Gameplay controller
core/src/de/tum/cit/fop/maze/MVC/GameController.java - Game modes
core/src/de/tum/cit/fop/maze/Gameplay/GameMode.java - Endless generation
core/src/de/tum/cit/fop/maze/Gameplay/MazeGenerator.java
Maze and entities
- Player
core/src/de/tum/cit/fop/maze/objects/Player.java - Enemy waves
core/src/de/tum/cit/fop/maze/Gameplay/WaveManager.java - Map parsing
core/src/de/tum/cit/fop/maze/Parser/MazeParser.java - Maze field
core/src/de/tum/cit/fop/maze/Parser/GameField.java - Enemy AI
core/src/de/tum/cit/fop/maze/objects/Dynamic/Enemy/Enemy.java - Bouncer behavior
core/src/de/tum/cit/fop/maze/objects/Dynamic/Enemy/Bouncer.java - Collectibles
core/src/de/tum/cit/fop/maze/objects/collectables/Collectable.java - Exit portal
core/src/de/tum/cit/fop/maze/objects/Static/Exit.java - Status effects
core/src/de/tum/cit/fop/maze/effects/Effect.java
Presentation and controls
- Map renderer
core/src/de/tum/cit/fop/maze/MVC/MapRenderer.java - HUD
core/src/de/tum/cit/fop/maze/UI/HUD.java - Menus and modes
core/src/de/tum/cit/fop/maze/UI/MenuScreen.java - Settings
core/src/de/tum/cit/fop/maze/UI/SettingsScreen.java - Developer console
core/src/de/tum/cit/fop/maze/UI/DevConsole.java - Sound
core/src/de/tum/cit/fop/maze/SoundController.java
Progress and persistence
- Save and load
core/src/de/tum/cit/fop/maze/game_saves/SaveManager.java - Achievements
core/src/de/tum/cit/fop/maze/AchievementController.java - Leaderboard
core/src/de/tum/cit/fop/maze/UI/LeaderboardScreen.java - Score tracking
core/src/de/tum/cit/fop/maze/Utils/ScoreManager.java
Other components
- Player
Connections 29
- Player → Game lifecycle: starts game
- Game lifecycle → Menus and modes: opens menu
core/src/de/tum/cit/fop/maze/MazeRunnerGame.java - Player → Menus and modes: chooses mode
- Menus and modes → Gameplay controller: starts gameplay
- Gameplay controller → Game modes: selects mode
core/src/de/tum/cit/fop/maze/MVC/GameController.java - Gameplay controller → Map parsing: loads map
core/src/de/tum/cit/fop/maze/MVC/GameController.java - Gameplay controller → Endless generation: generates maze
core/src/de/tum/cit/fop/maze/MVC/GameController.java - Map parsing → Maze field: builds field
core/src/de/tum/cit/fop/maze/Parser/MazeParser.java - Gameplay controller → Maze field: updates world
core/src/de/tum/cit/fop/maze/MVC/GameController.java - Gameplay controller → Enemy waves: manages waves
core/src/de/tum/cit/fop/maze/MVC/GameController.java - Gameplay controller → Map renderer: renders map
- Gameplay controller → Player: updates player
core/src/de/tum/cit/fop/maze/MVC/GameController.java - Maze field → Bouncer behavior: provides maze
core/src/de/tum/cit/fop/maze/objects/Dynamic/Enemy/Bouncer.java - Enemy AI → Player: targets player
core/src/de/tum/cit/fop/maze/objects/Dynamic/Enemy/Enemy.java - Enemy AI → Collectibles: drops reward
core/src/de/tum/cit/fop/maze/objects/Dynamic/Enemy/Enemy.java - Player → Status effects: applies effects
core/src/de/tum/cit/fop/maze/objects/Player.java - Player → HUD: updates display
core/src/de/tum/cit/fop/maze/objects/Player.java - Collectibles → Player: grants pickup
core/src/de/tum/cit/fop/maze/objects/collectables/Key.java - Collectibles → Exit portal: unlocks with keys
- Gameplay controller → HUD: updates HUD
core/src/de/tum/cit/fop/maze/MVC/GameController.java - Player → Settings: configures controls
- Player → Developer console: enters commands
- Player → Sound: plays effects
core/src/de/tum/cit/fop/maze/objects/Player.java - Gameplay controller → Save and load: saves progress
core/src/de/tum/cit/fop/maze/MVC/GameController.java - Gameplay controller → Achievements: tracks milestones
- Gameplay controller → Score tracking: updates score
core/src/de/tum/cit/fop/maze/MVC/GameController.java - Player → Achievements: views achievements
- Player → Leaderboard: views leaderboard
- Score tracking → Leaderboard: supplies statistics