Commit Graph

29 Commits

Author SHA1 Message Date
Martin Thoma
17a75813b1 Remove tests and alternative Python implementations
Ad discussed here:
https://github.com/coding-horror/basic-computer-games/issues/548#issuecomment-1081008471
2022-03-29 07:02:10 +02:00
Martin Thoma
bf4ac6c3ca Python: Add tests and type annotations 2022-03-22 11:58:30 +01:00
Martin Thoma
83b3dc402c Python: Add type annotations 2022-03-20 19:16:39 +01:00
Martin Thoma
8de3176348 Add Python tests 2022-03-19 12:20:57 +01:00
Jeff Atwood
f40a1fc465 add Porting Notes to readme.md for each game 2022-03-18 19:50:22 -07:00
Jeff Atwood
6f6ac93d1f 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
43f2ec013a add 00_Alternate_Langage folder and move alternate ports there 2022-03-15 20:49:07 -07:00
Alexander Wunschik
f2b3d6f2ed add terminal-stylesheet for javascript html 2022-03-13 11:23:05 +01:00
Martin Thoma
8cf8bab742 MAINT: Add type annotations / use functions 2022-03-07 22:00:41 +01:00
Martin Thoma
e64fb6795c 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
Aldrin Misquitta
285e658bbc Document a bonus option to view the game data as a tree! 2022-02-03 16:48:34 +00:00
Paul Holt
f756389037 Createa a build_00_utilities project containing testing helpers, including the ConsoleTest abstract class. 2022-01-29 23:48:53 +11:00
Paul Holt
302e1a0e0b Testing added! Now some full behaviour tests on both Animal JVM implementations.
Still todo: Move the ConsoleTest library into its own module, add a gradle dependency on it.
2022-01-29 22:36:29 +11:00
Zev Spitz
4f032310ad Fix WriteCenteredLines 2022-01-23 00:26:12 +02:00
Zev Spitz
41fdd87047 Test for added animal; minor fixes 2022-01-22 22:27:27 +02:00
Zev Spitz
0a4fe29ebe Update README and add comments 2022-01-21 04:52:44 +02:00
Zev Spitz
e8d753ada8 Added tests project 2022-01-21 04:31:55 +02:00
Zev Spitz
311776e3a8 Create test project 2022-01-20 11:03:38 +02:00
Zev Spitz
a8165eec0e Animal (VB.NET) implementation 2022-01-20 10:56:19 +02:00
Jeff Atwood
6ee2d5ee37 Merge pull request #512 from zspitz/main
Create missing sln/csproj/vbproj files
2022-01-16 11:13:47 -08:00
Aldrin Misquitta
f1c35db0f7 Use a tree structure instead of a list
(Fix for issue #369)
2022-01-16 14:21:17 +00:00
Zev Spitz
75def2707d Add sln and csroj/vbproj files where missing 2022-01-16 08:17:31 +02:00
Jeff Atwood
d71603cebd Merge pull request #432 from patimen/main
Switch to readln
2022-01-06 09:27:23 -08:00
John Long
71c7541905 Switch to readln
readln throws an exception when a file hits EOF, wheras readLine returns null. That puts us in an infinite loop if we hit EOF.
2022-01-05 23:22:46 -08:00
Tom Wyant
d77d3ee168 Port 03_Animal to Perl.
Replaed array-based simulation of binary tree with hash-based simulation
of binary tree.
2022-01-03 15:14:45 -05:00
Jeff Atwood
6f3d4bd78b Merge pull request #375 from LukasMurdock/update-readme
Update game readme
2022-01-03 07:20:28 -08:00
John Long
48522ba27d Add Kotlin version of Animal
Animal fascinated me as a kid. I wrote a version in Modula-2 for a Junior High School project. Didn't realize at the time I was studying binary trees.
2022-01-02 16:26:35 -08: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