🚨Mistake🚨 Hi all, looking back at this video I made a mistake: This video covers the Breadth First Search Algorithm which is a generalised form of Dijkstra. Sorry for the confusion.
@MaxDev2 жыл бұрын
Hi, I’d just like to say that I feel like your channel is a hidden gem that’ll soon be shown, your videos are great and the quality is amazing, you don’t need luck just keep going on
@MaxRohowsky2 жыл бұрын
hey max, thanks! will definitely continue to upload :)
@TheIaTaI Жыл бұрын
Very clear, and the steps to show which part of the code is intuitive thanks!
@MaxRohowsky Жыл бұрын
Glad you liked it!
@petrdvorak42022 жыл бұрын
What I was looking for, good job
@MaxRohowsky2 жыл бұрын
awesome!
@Jack-tu3sx2 жыл бұрын
Love your Videos!!
@MaxRohowsky2 жыл бұрын
jo jack, glad they help!
@Intrasoftware2 жыл бұрын
wow you did it, by putting onto my head thanks a lot bro ❤ would like to see a video of "A* algorithm" video like this
@MaxRohowsky2 жыл бұрын
Thanks for the idea!
@abisaitreynaga9112 жыл бұрын
Hey bro, thanks a lot for your time, your explanation it's awesome!!! This will help me a lot to my Algorithms class..
@MaxRohowsky2 жыл бұрын
You are welcome!
@elaymisgav18792 жыл бұрын
Amazing tutorial thank you!
@MaxRohowsky2 жыл бұрын
welcome !!
@wren97252 жыл бұрын
Dude, really good explanations! You deserve a lot more subs Edit: Do you know why the program crashes instead of drawing the path? I tried following the tutorial, and also tried copying your code from GitHub, but both of them close out of the program after it reaches the target.
@skill34722 жыл бұрын
Hi! Try wrapping the while loop for appending the path with a if selbox.prior != None: statement. Should fix the crashing.
@wren97252 жыл бұрын
@@skill3472 Hi, thank you for the help, but selbox is not a previously defined value
@skill34722 жыл бұрын
@@wren9725 selbox is my name for the current box variable, or whatever it was called in his code
@MaxRohowsky2 жыл бұрын
Hi Kritherion, sorry for the inconvenience. I seem to have uploaded the wrong file. It's updated on my github now and should work fine I hope.
@wren97252 жыл бұрын
@@MaxRohowsky No worries! Thank you for replying, great tutorial!
@akash10ful2 жыл бұрын
Thank You for an Amazing video!!!! I learned a lot through it. your style of explaining is really awesome!! I would like to point out just 1 thing in the last section. The code in the video has 1 line missing. But the code in GitHub is complete. else: for neighbour in current_box.neighbours: if not neighbour.queued and not neighbour.wall: neighbour.queued = True neighbour.prior = current_box ------------------------------------------------> This line is missing in the video. queue.append(neighbour)
@MaxRohowsky Жыл бұрын
Hi Akash10ful, sorry for the late reply on this! Might have been an editing mistake on my part. But thanks for pointing it out!
@TheUSDA__6 ай бұрын
Hey akash, thanks so much! Was wondering why "Nonetype" had no attribute prior. This solution works great
@Daniel-tg8du2 жыл бұрын
hi, i keep getting the following error Traceback (most recent call last): line 32, in arr.append(Box(i, j)) TypeError: Box() takes no arguments
@MaxRohowsky2 жыл бұрын
make sure that the init method in the box class is correct. You seem to be missing arguments there.
@ErenKıraç-g5m Жыл бұрын
Great project to do and good explanation,thank you very much! I wanna ask a question : Why didn't we import and use queue module instead of creating an array?
@MaxRohowsky Жыл бұрын
hey :) glad it helped! queue module would have been an option too :)
@_Baily8 ай бұрын
Is there a way you can put a map already? Not just clicking to make the walls
@ishansinha1336 Жыл бұрын
other part of the code is working but blue path to the target box is not being showed in my code
@ALIEN_from_MARS Жыл бұрын
I am getting error [ queue not found ]
@MaxRohowsky Жыл бұрын
Hi Pi, not sure why that is :(. Try forking the code from my github. Pretty sure that there aren't any errors in there.
@ALIEN_from_MARS Жыл бұрын
Ok, I will give it a try and hope so it works. Thanks a lot for helping me
@ALIEN_from_MARS Жыл бұрын
It worked 🎉🎉
@ajeetstationajeet Жыл бұрын
Awesome project well I have added a custom start point and created a pull request can u look at it on your repo and merge it
@MaxRohowsky Жыл бұрын
hey dude! awesome, thanks for contributing! Generally, I don't merge just because I don't want people to get confused when they clone the project and see it's different from the tutorial. But feel free to join my discord- see link in description:))
@ajeetstationajeet Жыл бұрын
@@MaxRohowsky right
@56_shivanshrahangdale10 Жыл бұрын
Cool
@MaxRohowsky Жыл бұрын
thanks :)
@kristofferjohansson37683 ай бұрын
God video but you make one huge mistake: you don't set the value for prior. Or more exactly, you don't explain where you do that. So for everyone that got frustrated over an empty current_box.prior the solution is at 26.38, line 110.