Hi, i'm trying to create a maze generator. But i have a logic problem: i need to create a random way from point A to point B. The way can't be straight. I have no idea how to do this - maybe there's an algorithm or something? Thanks!
Code posting not required.
Maybe i'll try recursive division method - it's simple and easy. Anyway, my idea is: create a way between point A and B. Then create many dead-ends around the main way (ded-ends are connected with the main way). The goal is to create a very long main way and create as much as possible dead-ends (works on the paper).