Commit Graph

10 Commits

Author SHA1 Message Date
Zev Spitz
75def2707d Add sln and csroj/vbproj files where missing 2022-01-16 08:17:31 +02:00
jcoehoorn
fbbf0bf622 Create program.vb 2022-01-09 12:37:32 -06:00
Jeff Atwood
3bb82b7cf7 Merge pull request #406 from kappa/main
02_Amazing in Perl
2022-01-04 11:09:03 -08:00
Alex Kapranoff
5409fa3daf chmod +x on the Perl script, as is done in #307 2022-01-04 00:51:54 -08:00
Alex Kapranoff
6f599f12f6 Fix the bug identified in #400 2022-01-04 00:47:34 -08:00
Alex Kapranoff
3b4b14427c 02_Amazing in Perl 2022-01-04 00:38:57 -08:00
Marc Durdin
d82a637152 chore(amazing): add note to README.md for #400 2022-01-04 16:47:32 +11:00
Marc Durdin
e8849566ba fix(amazing): guarantee exit on bottom row of maze
This issue only tends to show up on very small mazes (e.g. 2x2, 3x3). It is possible for the algorithm to never generate an exit to the maze. While the algorithm guarantees with the `Z` variable that only one exit will be generated, it does not test for the situation where we just happen to never get the right random value to open an exit on the bottom row.

The simplest resolution is just to check for this before rendering the final result (i.e. `IF Z=0`), and add an exit to a random cell on the bottom row.
2022-01-04 12:35:51 +11:00
LukasMurdock
7e3304c907 add 1-16
16:Bug
“If you elect to see all the pictures, this program has the ability of consuming well over six feet of terminal paper per run. We can only suggest recycling the paper by using the other side.”
2022-01-02 19:06:19 -05:00
Chris Reuter
d26dbf036a Removed spaces from top-level directory names.
Spaces tend to cause annoyances in a Unix-style shell environment.
This change fixes that.
2021-11-21 18:30:21 -05:00