In this thread I will posts mazes. You can solve them in paint, or by writing a script that applies an algorithm, or with your eyes. Post your solutions. After a while I will post one of the solutions.
The goal of the maze is to get from the top left square to the bottom right square.
Some easy mazes.
Some hard ones.
>>61495044
this one has like a thousand possible paths
what is the point of this
>>61495153
>>61495175
The other two hard ones don't.
>gif
And here we go.
>>61495233
What the fuck am I looking at?
>>61495279
Maze generation and solution using backtracking algorithm.
https://github.com/MariusMacijauskas/maze
>>61495288
>backtracking
Excuse me for being pleb, but i didnt make a single maze at school and at real work you do other stuff than mazes, but
>isnt the easiest way how to solve maze always turn RIGHT?
At least on type of maze you posted it works.
>>61495494
>Excuse me for being pleb
Making mazes is really not something one would be proud of, lol.
>isnt the easiest way how to solve maze always turn RIGHT?
You can also turn left. That's kind of what it does. In the solution part, the priority is set: North > South > East > West.
>at real work you do other stuff than mazes
Good for you on having a job. I'm freshman, doing this shit in hopes of getting hired. Next I will make a snake AI in Python. Maybe I should do Euler. I dunno. Sigh...
>>61495562
thanks for the blogpost looking forward to more updates very informative and clear discussion i can tell you how to gain followers instantly with three easy steps
>>61495585
>thanks for the blogpost
You're welcome.
>>61495562
No, you didnt get me. The easiest algo to solve your maze is to simply follow "right" wall and when you consider the type of maze, you end up eventually at exit. No need to check where have you been and where not.
And if you are freshman, you either got your degree and simply apply to some jobs (make sure you know sql) or apply for unpaid intership.
Good luck!
>>61495628
>(make sure you know sql)
Thanks for the tip. I'll at least look into what it is and what it does.
>>61495655
>what it is
Lol. It will be probably your daily bread and butter at almost any company.
And here the algo
https://en.m.wikipedia.org/wiki/Maze_solving_algorithm
Called wall follower :-D
>>61495213
solved it