CMM2: Maze Generating Program
Author
Message
vegipete
Guru
Joined: 29/01/2013
Location: CanadaPosts: 1112
Posted: 02:20am 10 Jun 2020
Cool! Nice job.
I figured out the cy = 0 problem last night. It seems to be related to floating point rounding fun.
Change the rnd() lines to
py = int(RND() * LENGTH) + 1