How jegjegovich/labyrinthapp-cpp- works
This is an interactive C++ maze generator and solver using SFML. The documented workflow is to set maze dimensions, generate a random maze, then either navigate it manually or display the automatic solution; users can also request a new maze. The excerpts show maze generation, solution search, drawing, and reusable input controls. The README describes the application features, but the entry point and menu implementation were not sampled, so their runtime wiring is shown only as unverified.
Main entry points: Menu.cpp Menu actions · Labyrinth.cpp Maze state · textFeld.cpp Dimension input · Player.cpp Player movement
Components 10
User interface
- Menu actions
Menu.cpp - Button controls
Button.cpp - Dimension input
textFeld.cpp
Maze domain
- Maze state
Labyrinth.cpp - Maze generation
Labyrinth.cpp - Solution search
Labyrinth.cpp - Maze rendering
Labyrinth.cpp - Player movement
Player.cpp
Application runtime
- Application loop
main.cpp
Other components
- User
Connections 12
- User → Application loop: uses
- User → Menu actions: chooses actions
- User → Dimension input: sets dimensions
- Menu actions → Maze generation: requests maze
- Dimension input → Maze generation: sets dimensions
- Maze generation → Maze state: creates maze
Labyrinth.cpp - Menu actions → Solution search: requests solution
- Solution search → Maze state: reads maze
Labyrinth.cpp - Maze state → Maze rendering: renders maze
Labyrinth.cpp - User → Player movement: plays maze
- Player movement → Maze state: traverses maze
- Menu actions → Maze generation: requests new maze