minerace/data/gen

6 lines
330 B
Plaintext

- check distance to start: if too great, go back somehow (?)
- if we're behind the start, connect and finish
- choose random direction
- check if free (no marker): otherwise go back
- check if nearby markers > 5 [count=5]: ~go back~ restart because going back recursively is too hard ("where back is" flag helps but isn't enough)