I Solved The World's Hardest Maze (with Code)

preview_player
Показать описание

P.S. Sorry for my upload being late :)

⭐ Other Social Media Links:

✨ Subscriber count: 11,534 subscribers 💚

I had a lot of fun making this video. Mazes are such a cool way to visualize how algorithms like A* and Dijkstra work. I hope you enjoyed it as much as I did. Let me know what you think in the comments.
Рекомендации по теме
Комментарии
Автор

i love how the wall followers just made maps of europe, i can just imagine using the path as land and non paths as water for a fantasy setting

DotboT
Автор

To test djikstra on the large maze, use uniform cost search. Same algorithm, same results, but it doesn't load the entirety of the maze in memory at the start which is why your implementation wouldn't work for the large maze. Similar concept to how A* has a limited search frontier (the set possible choices for the algorithm to explore next)

tiileaf
Автор

When you showed that your maze file was >1GB I was so enraged that I decided to reimplement the maze generator and rewrite the part that exports to a file so that it would be smaller and I managed to get it down to about 5.29MB

Roaxial
Автор

The dead-end filling algorithm is fun because it can be set up as a cellular automata. Make the walls thicker so they're the same size as the passages, then define the the maze so that passages are "living" cells and walls are "dead" cells. The automata only really needs one rule - if a living cell has fewer than 2 living neighbors, it dies. If you set it up with a loop of living cells around the outside of the maze (to keep the entrance and exit always alive), eventually all of cells that make up the dead ends will "die, " leaving you with just the solution alive.

DqwertyC
Автор

I think if you want your video to have high quality available right when it comes out, you can just upload it, but schedule it to release sometime in the future. That way youtube will have time to process higher quality.

leggyjorington
Автор

A neat thing i noticed is that the wallfollower algorithms create whats essentially a negative of each others routes. This is pretty neat!

WHKHero
Автор

I believe legt and right wall followers can be changed to give you the most optimal path, if the cells (when the algorithm backtracks) are removed from the path

alexandratsankova
Автор

Me: I want Code Bullet!
Mom: We have Code Bullet at home.
Code Bullet at home:

BrandonMakesGames_
Автор

This channel needs at least 1 million subs. Great content!

ViolentCabbage-ymko
Автор

"even thought a* completed 2nd rank and not aat all faster than RH WF, i declare that A* wins the race because it is one of my favourites"
worst scam of all time

whyshouldntiGD
Автор

2:34 As soon as he said ''What's happening'', 0.001 seconds later, I got an ad

AavyanTiwari
Автор

Your video is well produced, but 4600x4600 worth of cells can fit into about 5.4MB of memory if you only use 1 bit of information to store if a wall exists or not.

MrRaveYard
Автор

Very cool! 🔥 keep up the consisting uploads

rafssoares
Автор

5:19 this only works with these specifc types of mazes whete all of the walls are connected to the edges of the board

otter
Автор

4:27 BOGO SORT OF MAZE SOLVING LET'S

Vniulus
Автор

How is A* or Dijkstra not faster? Are you using a priority heap or just tossing everything into an array ?

analyzers
Автор

1:20 bro said i dont fking care in 1942750301264920202 different langauges

starrekt
Автор

Why do programmer youtubers always pretend their viewers don't want to hear about programming

music
Автор

Was excited to see this after seeing that clip of a maze-generation algorithm in the end of the year video!

trichlorophenate
Автор

You were printing every step while running the algos? That probably significantly slowed the algos down right?

swaystar