Skip to content

joaodelgado/maze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maze

Small project to visualize maze generation and solving.

screenshot

Implemented generation algorithms:

  • Depth first search
  • Randomized Kruskal
  • Randomized Prim
  • Eller
  • Hunt and Kill

Implemented solving algorithms:

  • Depth first search
  • Breadth first search
  • Dijkstra
  • Greedy
  • A*

How to run

cargo run --release -- --help
cargo run --release

Known problems

  • Kruskal's algorithm is very slow on large mazes, specially near the end
  • Kruskal's algorithm doesn't work properly with odd cell-sizes
  • Kruskal's algorithm doesn't generate the same maze when provided with the same seed

About

Small Piston project to visualize maze generation and solving.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages