SideWinder Maze: Not that fantastic (Too simple) lazarus / 39-Graphics ---------------------------------------------------------------------- Boleeman · 2026-03-21 10:26 A SideWinder Maze Solution is too simple. 1st horizontal path is where most of it ends up. Not that great. Went on to look at another type ! Perhaps someone can make this wind a bit more? ---------------------------------------------------------------------- Thaddy · 2026-03-21 19:02 Random(2)? Do you really mean just 0 and 1? Random(x) is not inclusive for X so to represent 0,1,2 you have to do Random(3). (Everywhere you use Random, not just here) for 0,1,2,3 it is random(4). ---------------------------------------------------------------------- Boleeman · 2026-03-21 19:50 The SideWinder functionality works, just need to work out a strategy so the 1st horizontal path length is minimized/ shortened consistently. The SideWinder maze was interesting to learn about, but not very effective in producing complex maze paths. As mentioned previously, I ended up making another maze using a different search method that is much consistent in making higher complexity level mazes. Want to look at spanning trees (Prim's algorithm, Kruskal's algorithm) and some other interesting Maze algorithms. Python does some nice picture mazes, so that would be really nice to do in Lazarus. ---------------------------------------------------------------------- Boleeman · 2026-04-07 05:32 Just recently found a free Paint.Net plugin that does random square/rectangular mazes. https://forums.getpaint.net/topic/8448-random-mazes-ymd100725/ It gave me some ideas on adding extra rendering features to my own Lazarus Maze programs.