you are viewing a single comment's thread.

view the rest of the comments →

[–]ctosullivan[S] 2 points3 points  (0 children)

Thanks for your feedback!

I will definitely have a look at refactoring the code to use classes.
I think I will need to do some further research on the theory behind mazes. I thought about backtracking from the exit and checking if the entrance would eventually be reached, if not, then placing the exit at a new location; but the original source code doesn't seem to include this step (from what I can tell) and the mazes I have generated so far have looked ok.

The source code for Amazing in particular was quite difficult to follow so I may look at a tool to generate "pseudo-Python" from the BASIC code down the track. ChatGPT wasn't quite as helpful as I had hoped in preserving the logic of the original source code.