Commit Graph

1007 Commits

Author SHA1 Message Date
Paul Holt
ec6dfd4bc3 Bug fix - restoring game did not enter countrymen
Refactor - Added validatedInput function
2022-01-05 01:24:08 +11:00
Paul Holt
41c3c617f5 Remove exceptions used for standard
flow-control - this is an antipattern.
2022-01-05 00:13:52 +11:00
Paul Holt
4a2217f4be Update README.md 2022-01-04 10:41:42 +11:00
Paul Holt
cc7735aba3 Merge branch 'coding-horror:main' into main 2022-01-04 10:15:39 +11:00
Paul Holt
2d994033c5 update docs 2022-01-04 10:14:09 +11:00
Paul Holt
d32c56800a initial kotlin implementation of "King" 2022-01-04 10:13:48 +11:00
Jeff Atwood
2b9f3959d5 Merge pull request #391 from ribtips/main
Perl version of game 26 Chomp
2022-01-03 14:59:39 -08:00
Jeff Atwood
ad1ec8f205 Merge pull request #393 from trwyant/73_Reverse_ported_by_trw
Ported 73_Reverse to Perl.
2022-01-03 14:55:04 -08:00
Tom Wyant
d10e80e2c0 Ported 73_Reverse to Perl.
In a language with list assignments, array slices, and a reverse()
built-in, the reversal can be done in one statement.
2022-01-03 17:12:34 -05:00
RibTips
ec189883f9 Perl version of Chomp 2022-01-03 15:59:14 -05:00
Jeff Atwood
e11291971d Merge pull request #390 from trwyant/03_Animals_ported_by_trw
Port 03_Animal to Perl.
2022-01-03 12:17:52 -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
7dbce212d1 Merge pull request #387 from ersen0/23matches-perl
Add Perl version of 93_23Matches
2022-01-03 11:48:08 -08:00
Oğuz Ersen
26492ed257 Add Perl version of 93_23Matches 2022-01-03 19:39:53 +00:00
Jeff Atwood
6961f4eb50 Merge pull request #386 from daves561/bombs-away-csharp
Bombs Away in C#
2022-01-03 10:35:01 -08:00
Dave Shapiro
fd7adde990 Added Bombs Away in C#. This is a Visual Studio 2022 solution and uses the latest language features like file-scoped namespaces. 2022-01-03 11:30:55 -07:00
Jeff Atwood
56957da17d Merge pull request #384 from baka0815/pascal_randomize
AceyDucey/pascal: Move Randomize()
2022-01-03 10:30:25 -08:00
Jeff Atwood
0bf55b3138 Merge pull request #385 from daves561/fix-readme-typo
Fix typo in Bombs Away README.
2022-01-03 10:27:38 -08:00
Dave Shapiro
f57c27f1ea Fix typo in Bombs Away README. 2022-01-03 11:21:08 -07:00
baka0815
6977afdef0 AceyDucey/pascal: Move Randomize()
Randomize() should be called only once and as soon as possible.
2022-01-03 18:24:09 +01:00
Jeff Atwood
5ee452189a Merge pull request #373 from tjd1234/35.evenwins.python
added evenwins.py
2022-01-03 09:13:44 -08:00
Jeff Atwood
ca3b55d00e Merge pull request #370 from cmaitchison/rock-scissors-paper-ruby
Add Ruby implementation of Rock Scissors Paper
2022-01-03 09:12:22 -08:00
Jeff Atwood
9783a3e8eb Merge pull request #374 from patimen/main
Add Kotlin to War
2022-01-03 09:10:58 -08:00
Jeff Atwood
60417dfe41 Merge pull request #382 from Luminoso-256/main
add C# port of 21_calendar
2022-01-03 07:21:45 -08:00
Jeff Atwood
245056d9d4 Merge pull request #379 from marijnz0r/main
Add csharp version of 40_Gunner
2022-01-03 07:20:51 -08:00
Jeff Atwood
6f3d4bd78b Merge pull request #375 from LukasMurdock/update-readme
Update game readme
2022-01-03 07:20:28 -08:00
Jeff Atwood
ccd45cf457 Merge pull request #378 from trwyant/90_Tower_ported_by_trw
Add Perl port of 90_Tower (Tower of Hanoi)
2022-01-03 07:19:22 -08:00
Jeff Atwood
6414d82709 Merge pull request #377 from aviyam/main
Fixes
2022-01-03 07:18:46 -08:00
Luminoso-256
25dcb2a325 add C# port of 21_calendar 2022-01-03 08:31:32 -06:00
marijnz0r
711fca294d Add csharp version of 40_Gunner 2022-01-03 12:51:38 +01:00
LukasMurdock
e9ce521016 save 3-D tic-tac-toe 2022-01-03 06:49:10 -05:00
Tom Wyant
708155978c Add Perl port of 90_Tower (Tower of Hanoi) 2022-01-03 06:23:44 -05:00
aviyam
5e8b3b2ad2 Fixed 2 issues:
1. Behavior of game play. New cards should be dealt every round.
2. As a result of 1, check that we have at least 3 cards for next round.
2022-01-03 12:42:36 +02:00
LukasMurdock
87613662a8 typo, misspelled Geoffrey 2022-01-03 02:26:52 -05:00
LukasMurdock
7f2f34709a typo, left out y in originally 2022-01-03 02:23:34 -05:00
LukasMurdock
76c5e1e995 add 17-96 2022-01-03 02:13:21 -05:00
John Long
bd6c6ead8d Add Kotlin to War 2022-01-02 23:02:01 -08:00
Toby Donaldson
3fd1d6b0af added evenwins.py 2022-01-02 22:57:42 -08:00
Chris Aitchison
6d2b083aad Merge branch 'coding-horror:main' into rock-scissors-paper-ruby 2022-01-03 11:59:04 +11:00
Chris Aitchison
90b0abe4c6 Add Ruby implementation of Rock Scissors Paper 2022-01-03 11:52:17 +11:00
Jeff Atwood
9e229533c3 Merge pull request #368 from havoclad/main
Adjust spacing to match original
2022-01-02 16:51:16 -08:00
Pat Ludwig
c9b92d5720 Merge branch 'coding-horror:main' into main 2022-01-02 18:34:30 -06:00
Pat Ludwig
436f904abf Adjust spacing to match original
Various minor tweaks
2022-01-02 18:31:50 -06:00
Jeff Atwood
5774eb74e7 Merge pull request #366 from patimen/main
Add Kotlin version of Animal
2022-01-02 16:28:32 -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
Jeff Atwood
1399eee7ee Merge pull request #364 from joshgrib/main
Move folder for consistency
2022-01-02 15:55:28 -08:00
Jeff Atwood
9c7c29714f Merge pull request #363 from veelo/typo
Fix minor typo in Basic source of Acey-Ducey.
2022-01-02 15:55:12 -08:00
Josh Gribbon
b3b460779e Move folder for consistency 2022-01-02 18:50:20 -05:00
Bastiaan Veelo
e8ec059b49 Fix minor typo in Basic source of Acey-Ducey.
As compared to the printed version.
2022-01-03 00:28:24 +01:00