Files
basic-computer-games/02_Amazing
Martin Thoma 49ae4f4872 Amazing (Python): Code Cleanup
* Make more use of a Maze class
* Create a bigger maze in the test
* Group row/col variables in Position class
* Group direction variables in an Enum
2022-03-21 14:32:48 +01:00
..
2022-03-05 09:29:23 +01:00
2022-03-05 09:29:23 +01:00
2022-03-05 09:29:23 +01:00
2022-03-21 14:32:48 +01:00
2022-03-05 09:29:23 +01:00
2022-03-05 09:29:23 +01:00

Amazing

This program will print out a different maze every time it is run and guarantees only one path through. You can choose the dimensions of the maze — i.e. the number of squares wide and long.

The original program author was Jack Hauber of Windsor, Connecticut.


As published in Basic Computer Games (1978):

Downloaded from Vintage Basic at http://www.vintage-basic.net/games.html

Porting Notes

2022-01-04: patched original source in #400 to fix a minor bug where a generated maze may be missing an exit, particularly at small maze sizes.