Commit Graph

1051 Commits

Author SHA1 Message Date
Alvaro Frias
d5261e075e Merge branch 'coding-horror:main' into main 2022-01-04 15:48:55 -03:00
Alvaro Frias Garay
e0eb344288 Added porting notes and original program commentary 2022-01-04 15:45:12 -03:00
Jeff Atwood
824802c9a6 Merge pull request #407 from mvanwinkle/31_Depth_Charge_ruby
cleanup
2022-01-04 10:44:16 -08:00
Jeff Atwood
a267df0e7c Merge pull request #365 from veelo/d
D version of Acey-Ducey.
2022-01-04 10:42:15 -08:00
Alvaro Frias Garay
296ba00625 Added parse function for starting day of the week of the year and boolean to check if it's a leap year
structured code
2022-01-04 15:31:16 -03:00
Jeff Atwood
2811b32a8d Merge pull request #409 from millwardesque/main
Refactoring for Javascript WAR
2022-01-04 10:20:58 -08:00
Jeff Atwood
1e6958221e Merge pull request #411 from ersen0/chief-perl
Add Perl version of 25_Chief
2022-01-04 10:19:19 -08:00
Alvaro Frias Garay
68dae9181a Updated formatting to look like the original program 2022-01-04 15:15:02 -03:00
Alvaro Frias Garay
1989a86d61 formatting logic updated 2022-01-04 15:12:41 -03:00
Alvaro Frias Garay
7e8d378d47 formatting text updated 2022-01-04 15:10:08 -03:00
Oğuz Ersen
c4541fcc37 Add Perl version of 25_Chief 2022-01-04 17:59:28 +00:00
Jeff Atwood
dc5cde0629 Merge pull request #403 from mcdurdin/patch-1
chore(amazing): add note to README.md for #400
2022-01-04 09:39:52 -08:00
Jeff Atwood
ab492ff3f8 Merge pull request #405 from ribtips/main
Modifications to 35_EvenWins in Perl & Python
2022-01-04 09:39:20 -08:00
Alvaro Frias Garay
1638dcfd1e Added Calendar first implementation
it has some formatting problems
2022-01-04 14:37:22 -03:00
christopher.millward
27fce4afdd Removed last of the single-letter variables 2022-01-04 10:46:44 -05:00
christopher.millward
3c46cd09cd Updated documentation and used push() 2022-01-04 10:44:48 -05:00
christopher.millward
7b7be9437e War refactor and cleanup 2022-01-04 10:40:59 -05:00
Martin VanWinkle III
57d141bd28 cleanup 2022-01-04 08:36:37 -05:00
Bastiaan Veelo
5395d6abb0 D version of Acey-Ducey. 2022-01-04 11:52:09 +01:00
RibTips
c2ead1cf0c Merge pull request #1 from ribtips/ribtips-evenwins-logic-patches
Logic fixes and patches for evenwins in perl and python
2022-01-04 01:39:30 -05:00
RibTips
0065ac5dbc added logic/intelligence into the AI
modified the logic from how the computer was making its selections.  Original code had a simple random number, this incorporates the original logic from the BASIC game.
2022-01-04 01:37:57 -05:00
RibTips
824a39695b Add files via upload 2022-01-04 01:33:11 -05:00
Marc Durdin
3d9b2b15c1 chore(amazing): add note to README.md for #400 2022-01-04 16:47:32 +11:00
Jeff Atwood
9dd327b8c3 Merge pull request #402 from ribtips/main
Perl version of 35_evenwins
2022-01-03 21:41:43 -08:00
RibTips
9438a69b02 Perl version of 35_evenwins 2022-01-04 00:21:38 -05:00
Jeff Atwood
297eafec14 Merge pull request #400 from mcdurdin/patch-1
fix(amazing): guarantee exit on bottom row of maze
2022-01-03 19:10:08 -08:00
Jeff Atwood
22a1637f55 Merge pull request #371 from AlaaSarhan/main
13. Bounce in Ruby
2022-01-03 19:09:15 -08:00
Jeff Atwood
dbe7969382 Merge pull request #399 from a2wd/main
Added bombardment in c#
2022-01-03 19:07:48 -08:00
Jeff Atwood
c7e8eabfbf Merge pull request #398 from patimen/main
Add Kotlin for Synonym
2022-01-03 19:07:28 -08:00
Jeff Atwood
481e4893d4 Merge pull request #396 from pcholt/main
Kotlin King
2022-01-03 18:17:18 -08:00
Alaa Sarhan
77b47787ae minor changes 2022-01-04 02:49:50 +01: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
a2wd
20eaf20d91 Added bombardment in c# 2022-01-04 01:57:36 +01:00
John Long
e487215819 And now RANDOM is redundant 2022-01-03 16:48:49 -08:00
John Long
033d4c1f19 Affirmation more accurate than Answer 2022-01-03 16:47:47 -08:00
John Long
070f1cb923 A little cleaner implementation 2022-01-03 16:45:26 -08:00
John Long
fdfd34441f Add Kotlin for Synonym
This is so much cleaner than the Java :).
2022-01-03 16:37:04 -08:00
Paul Holt
84bc463430 Update README.md 2022-01-04 10:41:42 +11:00
Paul Holt
ee32f263f7 Merge branch 'coding-horror:main' into main 2022-01-04 10:15:39 +11:00
Paul Holt
d121d2ab64 update docs 2022-01-04 10:14:09 +11:00
Paul Holt
1fad565805 initial kotlin implementation of "King" 2022-01-04 10:13:48 +11:00
Jeff Atwood
4e8ada4e3a Merge pull request #391 from ribtips/main
Perl version of game 26 Chomp
2022-01-03 14:59:39 -08:00
Jeff Atwood
90c6753b69 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
1d2ccb230c 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
72d9d9efbb Perl version of Chomp 2022-01-03 15:59:14 -05:00
Jeff Atwood
e67f4367fc 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
a7095c6391 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
55a2c830e2 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
1394b2e963 Add Perl version of 93_23Matches 2022-01-03 19:39:53 +00:00
Jeff Atwood
8d30ff2074 Merge pull request #386 from daves561/bombs-away-csharp
Bombs Away in C#
2022-01-03 10:35:01 -08:00