Commit Graph

19 Commits

Author SHA1 Message Date
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