Commit Graph

1353 Commits

Author SHA1 Message Date
Kristian Stolen
4f2bc6f98c Add test showing that reverse handles numbers less than zero. 2022-01-13 16:32:55 +08:00
Kristian Stolen
ed50c3e24b fix typo. 2022-01-13 16:28:54 +08:00
Kristian Stolen
08ea76d111 Update display 2022-01-13 16:28:08 +08:00
Kristian Stolen
329fe3137c Add rules. 2022-01-12 20:26:18 +08:00
Kristian Stolen
2758c3375c Remove static method. 2022-01-12 20:15:37 +08:00
Kristian Stolen
4dc1e57789 Make static method private. 2022-01-12 20:14:33 +08:00
Kristian Stolen
0a7e386c36 Remove static method. 2022-01-12 20:13:57 +08:00
Kristian Stolen
67d1c84f2e Update program to reference instance of reverser. 2022-01-12 20:13:03 +08:00
Kristian Stolen
eb27f8612e Add GetArrayString method. 2022-01-12 20:05:17 +08:00
Kristian Stolen
a819a535bb Define instance methods for reverser. 2022-01-12 20:00:59 +08:00
Kristian Stolen
08282e1a7d Configure console app 2022-01-12 19:29:09 +08:00
Kristian Stolen
1d4651bfef Add method for creating a random array of distinct values. 2022-01-12 19:00:51 +08:00
Kristian Stolen
b1cfa83ac5 Add method for checking if a given array is in ascending order. 2022-01-12 19:00:20 +08:00
Kristian Stolen
8e54c0e930 rename tests. 2022-01-12 18:12:15 +08:00
Kristian Stolen
2a809aabc9 Protect against index out of range exceptions 2022-01-12 18:09:57 +08:00
Kristian Stolen
84d473d8f2 Create reverser that reverses an array at a given position. 2022-01-12 17:56:26 +08:00
Tim Buchalka
2eab61fd1d Merge pull request #492 from trwyant/21_Calendar_perl_trw
Convert 21_Calendar to Perl.
2022-01-12 13:00:20 +10:30
Tim Buchalka
34a1cde031 Merge pull request #491 from LittleTealeaf/75_Roulette_Java
75 Roulette in Java - Organize Implementations into folders
2022-01-12 12:56:26 +10:30
Tom Wyant
f61148b2e4 Convert 21_Calendar to Perl.
This is pretty much a complete rewrite. It displays the current year,
but that can be changed by specifying the desired year on the command
line. It MAY even be sensitive enough to locale to produce output in
languages other than English.
2022-01-11 21:19:47 -05:00
Thomas Kwashnak
f87d306b0f Added some descriptors to iterative 2022-01-11 21:05:35 -05:00
Thomas Kwashnak
76d5f2dde2 Expanded README to describe different implementations 2022-01-11 21:03:33 -05:00
Thomas Kwashnak
daa06846bf moved implementations to individual folders 2022-01-11 20:59:56 -05:00
Tim Buchalka
b28a12f52a Document both contributions of this game
Notes relating to both contributed versions of Acey Ducey for Java.
2022-01-12 12:22:37 +10:30
Tim Buchalka
b350896f66 Merge pull request #489 from mwieder/slots_ruby
Slots ruby
2022-01-12 12:13:40 +10:30
Tim Buchalka
80ed8cd2b1 Merge pull request #490 from DyegoMaas/55_Life_csharp
Life in C#
2022-01-12 10:54:00 +10:30
Dyego Maas
8c02ea39d2 Documented the --wait argument. 2022-01-11 20:58:07 -03:00
Dyego Maas
985e1886ac Adding comment about the port. 2022-01-11 20:51:48 -03:00
Dyego Maas
c7c3d68a2e Moving pause location to the end of iteration. 2022-01-11 20:47:08 -03:00
Dyego Maas
3ffd2fdc52 Refactoring and documenting the solution. 2022-01-11 20:46:39 -03:00
Dyego Maas
cd478a4a94 Added argument to configure a pause in between iterations, allowing the player to enjoy watching the evolution of the game of life. 2022-01-11 20:46:07 -03:00
Dyego Maas
4870a14909 Refactoring, plus adding real user input again. 2022-01-11 20:45:34 -03:00
Dyego Maas
778af346d7 Added enum Cell to enhance clarity. 2022-01-11 20:45:00 -03:00
Dyego Maas
e53b9d9cf1 Further refactoring, naming procedures. 2022-01-11 20:44:13 -03:00
Dyego Maas
d9ab235585 Some initial refactorings. 2022-01-11 20:43:44 -03:00
Dyego Maas
44b1ada7d4 Eliminated StackOverflow bug. 2022-01-11 20:43:14 -03:00
Dyego Maas
be5e35f7e0 Got it working. 2022-01-11 20:42:40 -03:00
Dyego Maas
53d2943f93 Not working yet. 2022-01-11 20:41:28 -03:00
Dyego Maas
ade38d6969 Another step. 2022-01-11 20:40:50 -03:00
Dyego Maas
1c1276778b Just starting out. 2022-01-11 20:40:05 -03:00
Mark Wieder
71bc3b95f4 Slot machine in ruby 2022-01-11 15:12:06 -08:00
Jeff Atwood
1a571b6f87 Merge pull request #487 from trwyant/75_Roulette_perl_trw
Port 75_Roulette to Perl.
2022-01-11 14:05:47 -08:00
Tom Wyant
09b0e972cd Port 75_Roulette to Perl.
The directory includes a Perl script to test the port (roulette-test.t)
and a Perl script to generate the test based on output from the BASIC
implementation (make-roulette-test.pl).
2022-01-11 17:00:28 -05:00
Jeff Atwood
79af7d200e Merge pull request #485 from LittleTealeaf/75_Roulette_Python
75 Roulette in Python
2022-01-11 13:49:45 -08:00
Jeff Atwood
097afb43d8 Merge pull request #486 from andrewmcguinness/dev
75_Roulette in java
2022-01-11 13:49:17 -08:00
Jeff Atwood
64e26648ba Merge pull request #481 from LittleTealeaf/75_Roulette_Java
75 Roulette in Java
2022-01-11 13:48:43 -08:00
andrew
3d46e147f5 readme 2022-01-11 21:40:31 +00:00
andrew
5c632b2d7e 75_Roulette in java 2022-01-11 21:35:09 +00:00
LittleTealeaf
11fb8f778f Added comments 2022-01-11 16:11:10 -05:00
LittleTealeaf
1b8156791e Merge branch '75_Roulette_Java' of https://github.com/LittleTealeaf/basic-computer-games into 75_Roulette_Java 2022-01-11 16:05:20 -05:00
LittleTealeaf
5c3a7e67fa Reverting previous commit 2022-01-11 16:05:16 -05:00