Recursive Backtracker vs BFS #coding #programming #fyp #mazegeneration #donevdev

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

Рекомендации по теме
Комментарии
Автор

One way to solve a maze for people without been lost is too follow the wall on your right OR your left. And you can touch the wall with the hand (left OR right) to be sure of your path

johnycash
Автор

1. The maze isn't generated that way, just solved.

2. It doesn't choose randomly, it's likely hardcoded to try left first or something like that and when it hits a dead end it picks the next one that hasn't been tried, cmon this is literally the example they give when first learning about these algorithms

woutverjans