jason
accf4ae28b
add top comment copied from readme (includes attribution) and reorganize methods for readability.
2022-01-05 00:12:43 -08:00
jason
79af2bac21
debrand
2022-01-05 00:04:24 -08:00
jason
acdb3f7fa8
grammar nit
2022-01-05 00:00:03 -08:00
jason
80d20bd78b
fix problem with holding count after add and fix up some visiblity for simplicity
2022-01-04 23:59:26 -08:00
jason
048a25c51e
simplify handling of past successes
2022-01-04 23:49:31 -08:00
jason
4143d03121
factor out result message display and clean up ordinal switch
2022-01-04 23:14:58 -08:00
jason
462e2e57fa
factor out JumpResult and executeJump()
2022-01-04 22:53:32 -08:00
jason
7d3d08d8bd
factor out silly play again prompt
2022-01-04 22:31:51 -08:00
jason
1c3f2f4c2f
simplify splat message
2022-01-04 22:10:44 -08:00
jason
105e2c5456
invert if and factor out splat message
2022-01-04 22:07:32 -08:00
jason
9084936227
factor out initial jump conditions
2022-01-04 22:05:24 -08:00
jason
6a5564c68a
factor out intro and prompt messages
2022-01-04 21:32:56 -08:00
jason
64dc59ba6f
plug in yesno prompt for acceleration
2022-01-04 21:24:01 -08:00
jason
ce9c50793e
factor out askYesNo
2022-01-04 21:22:11 -08:00
jason
41c22f51f0
factor out planet enum
2022-01-04 21:14:36 -08:00
jason
25b77452da
first very ugly port.
2022-01-04 20:44:47 -08: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
Dave Shapiro
3e6c2af798
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
a23ad1239c
Merge pull request #384 from baka0815/pascal_randomize
...
AceyDucey/pascal: Move Randomize()
2022-01-03 10:30:25 -08:00
Jeff Atwood
5491968447
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
7192465b4b
Fix typo in Bombs Away README.
2022-01-03 11:21:08 -07:00
baka0815
332163fc95
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
39595193e4
Merge pull request #373 from tjd1234/35.evenwins.python
...
added evenwins.py
2022-01-03 09:13:44 -08:00
Jeff Atwood
0915cbda97
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