Skip to content
Maze generation and BFS solution path

Maze-Game

Updated Feb 2025

Javajavalib.impworldjavalib.worldimages

maze-game is a java world program that generates solvable mazes, animates breadth-first or depth-first search, and has a manual play mode. it's sort of a compact mix of graph generation, search visualization, and event-driven interaction.

maze generation via weighted graph + spanning tree

BFS and DFS solver visualization

interactive player mode with keyboard controls

what i built

  • maze generator over a grid graph using weighted edges and union-find style logic
  • solver playback for BFS and DFS so you can actually watch pathfinding instead of just getting the answer
  • manual mode with movement, collision checks, and win detection

how it works

  1. 1generate a maze from weighted connections across a grid
  2. 2choose BFS or DFS to visualize a solver path
  3. 3optionally switch into manual mode and play through the maze yourself

results

  • solid early project for graph algorithms, search, and interactive java state

what's next

  • record a GIF of maze generation and BFS/DFS solver animation
  • document the course-library setup more precisely