Commit Graph

27 Commits

Author SHA1 Message Date
Martin Thoma
2316195b30 Python: Add type annotations 2022-03-20 19:16:39 +01:00
Jeff Atwood
473e20c181 add Porting Notes to readme.md for each game 2022-03-18 19:50:22 -07:00
Jeff Atwood
3cfb409b36 Merge pull request #633 from mojoaxel/js-terminal-style
Add "nice" terminal style stylesheet for javascript html
2022-03-15 23:50:18 -05:00
Jeff Atwood
3c76ebe024 add 00_Alternate_Langage folder and move alternate ports there 2022-03-15 20:49:07 -07:00
Martin Thoma
bf6681e3b0 Python: Fix linting issues
The following Flake8 issues were fixed:

* W291
* W504

* F821
* F401
* F541

* E402
* E711
2022-03-14 13:13:20 +01:00
Alexander Wunschik
53ebb09c1c add terminal-stylesheet for javascript html 2022-03-13 11:23:05 +01:00
Martin Thoma
e5f36993e8 MAINT: Apply 'pre-commit run --all' and fix issues 2022-03-10 06:59:21 +01:00
Martin Thoma
d456556cdb Python: Add Continuous Integration for Python
There are a lot of exceptions, but it's a start.
This will ensure that no more issues get added / that issues
get fixed before the code is added
2022-03-09 21:29:06 +01:00
Martin Thoma
f3559cbd23 MAINT: Add type annotations / use functions 2022-03-07 22:00:41 +01:00
Anthony Rubick
6f311f0dae Merge branch 'coding-horror:main' into rust-port-amazing 2022-03-07 09:17:35 +00:00
Martin Thoma
93e1a78363 MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
2022-03-05 09:29:23 +01:00
AnthonyMichaelTDM
7c30983e8a added exit condition
when running this as a .exe, it would close immediately after generating the maze, this is no longer the case.
2022-02-27 20:49:25 -08:00
AnthonyMichaelTDM
bef538b815 bug fix
didn't have a minimum accepted input size, and panicked during testing
2022-02-27 20:37:43 -08:00
AnthonyMichaelTDM
7850fa643a readme's added 2022-02-27 20:07:18 -08:00
AnthonyMichaelTDM
5bb0c3de2d rust port of Amazing 2022-02-23 23:58:57 -08:00
AnthonyMichaelTDM
842c85ffde rust port of Amazing 2022-02-23 23:58:17 -08:00
AnthonyMichaelTDM
c49283c760 rust port of Amazing 2022-02-23 23:39:06 -08:00
Zev Spitz
8a2f251c40 Add sln and csroj/vbproj files where missing 2022-01-16 08:17:31 +02:00
jcoehoorn
d741775bc3 Create program.vb 2022-01-09 12:37:32 -06:00
Jeff Atwood
953eff084f Merge pull request #406 from kappa/main
02_Amazing in Perl
2022-01-04 11:09:03 -08:00
Alex Kapranoff
234e363d0a chmod +x on the Perl script, as is done in #307 2022-01-04 00:51:54 -08:00
Alex Kapranoff
4ac94d5a37 Fix the bug identified in #400 2022-01-04 00:47:34 -08:00
Alex Kapranoff
96f1a6348b 02_Amazing in Perl 2022-01-04 00:38:57 -08:00
Marc Durdin
3d9b2b15c1 chore(amazing): add note to README.md for #400 2022-01-04 16:47:32 +11:00
Marc Durdin
d5f51b5751 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
d67dc8d692 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
5f664bc71d 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