Python Maze Generating Algorithm - PathGen v2.4 with short move range

preview_player
Показать описание
A Python script / algorithm that generates a complex maze with only one solution randomly. (PathGen v2.4 with trackback / re-spawn by Jere)
In this version, the move range for each step has been set to a short random range, so that shorter straight paths are formed.
Random range = (1, 2) - means for each random move the direction loop runs either once or twice.

Рекомендации по теме
join shbcf.ru