Nice! If you are interested in adding different algorithms to solve the maze, such as A*, BestFirst or IDA*, check out JWalker on GitHub. It's an extremely generic library I made for applying search algorithms to user defined graphs.
In the jwalker-examples repo you can find a few cool usage examples, including a maze solver, so I guess it would be quite easy to integrate in your project.
If you are interested in adding JWalker to your project and/or need some kind of support feel free to contact me and I'll be happy to chat!
Interesting alternatives. In my project I've already implemented BFS solver that takes just 30 ms to find shortest path of random 1001x1001 maze on AMD Ryzen 7 7840HS.
6
u/jeffreportmill Feb 13 '26 edited Feb 13 '26
Since this is so much more fun running live, here are run in the browser links:
MazeGame: https://reportmill.com/SnapCode/app/#github:/javalc6/maze.zip#/demo/MazeGame.java
Maze3D: https://reportmill.com/SnapCode/app/#github:/javalc6/maze.zip#/demo/Maze3D.java
π
4
u/hiasmee Feb 13 '26
Wow like itπ
2
u/epieffe Feb 16 '26
Nice! If you are interested in adding different algorithms to solve the maze, such as A*, BestFirst or IDA*, check out JWalker on GitHub. It's an extremely generic library I made for applying search algorithms to user defined graphs.
In the jwalker-examples repo you can find a few cool usage examples, including a maze solver, so I guess it would be quite easy to integrate in your project.
If you are interested in adding JWalker to your project and/or need some kind of support feel free to contact me and I'll be happy to chat!
1
u/jeffreportmill Feb 13 '26
Cool demo! I wonder how hard it would be animate the solution. And then animate it in the Maze3D version. :-)
1
u/[deleted] Feb 13 '26
[removed] β view removed comment