Idk I am bored and I wanted to do this. I am gonna edit it a lot. hit 1 for normal, 2 for analytical. Turbo mode finishes it quicker space to clear (After it stops, don't try to do it sooner.)(stop sign to stop, space to reset) -Attention- Not a 100% garuntee you'll get passed the first test. If you don't, try again -will keep generating until all paths fail, meaning it could keep growing after it hits the bottom. It usually dies, but sometimes it doesn't so be careful
the code does a random test for direction and number, and a random test for branch length completely randomized when a successful path touches the edge, it ends successful paths (will create two children paths) are green failure paths (will end/die) are red you can totally break the simulation btw Code by me