Commit Graph

1333 Commits

Author SHA1 Message Date
Dyego Maas f25adca07a Fix the initialization of the matrix, which was displacing the pattern in the initial position onto the matrix, which caused the evolution of the simulation to variate in relation with the original game in Basic when once the cells reached the boarder (invalid cases). 2022-01-12 16:07:35 -03:00
Dyego Maas 73665d8b09 Fixes cropping that would happen when using an dot (.) in the beggining of the text. 2022-01-12 16:04:57 -03:00
Dyego Maas 159aa46e21 Fixed pattern reading when inputing DONE, which would lead to incorrect sizing of the pattern transcribed to the matrix and caused drifting in relation to the original. 2022-01-12 16:04:14 -03:00
Dyego Maas f621116064 Adding instructions on how to enter patterns, and also some examples. 2022-01-12 10:50:36 -03:00
Dyego Maas f3d63355df Adding instructions on how to run the example. 2022-01-12 10:09:31 -03:00
Dyego Maas 337e7976d1 Performance optimization, reducing the amount of writes to the console necessary to output each iteration's matrix. 2022-01-12 09:50:35 -03:00
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
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
LittleTealeaf 1317d9ee16 Player balance is now deducted on bets 2022-01-11 16:04:44 -05:00
LittleTealeaf ea16d14a9d Implemented more Roulette.py 2022-01-11 16:01:38 -05:00
Thomas Kwashnak 5dff785129 Fixed numerical typo 2022-01-11 15:56:31 -05:00
Thomas Kwashnak 614e4740a9 Added check 2022-01-11 15:26:53 -05:00
Thomas Kwashnak 74a3cb72ac Started Roulette in Python 2022-01-11 15:09:03 -05:00
Thomas Kwashnak f43e31fb83 Re-Formatted Code 2022-01-11 14:15:37 -05:00
Thomas Kwashnak 2885acd951 Match Formatting to Original Program 2022-01-11 14:10:42 -05:00
Jeff Atwood ff09feae2a Merge pull request #484 from robmiller/depth-charge-idiomatic-ruby
Depth Charge: use more idiomatic Ruby
2022-01-11 09:55:18 -08:00
Rob Miller 7f14b42c73 Depth Charge: use more idiomatic Ruby
Refactor the Depth Charge game (#31) to use more Ruby idioms, without
changing its structure, method names, etc.
2022-01-11 17:47:53 +00:00
Jeff Atwood 7c8528909e Merge pull request #483 from pcholt/patch-1
Copying Mistale
2022-01-10 17:42:17 -08:00
Paul Holt 5c9443c522 Copying Mistale
forgot to add 'clean' to the targets for the initial build
2022-01-11 11:43:27 +11:00
Thomas Kwashnak 2b247f9d0d Merge branch 'coding-horror:main' into 75_Roulette_Java 2022-01-10 16:10:21 -05:00
Jeff Atwood 74a63fcdad Merge pull request #372 from joshgrib/add-script-to-find-missing-implementations
Add script to find missing implementations
2022-01-10 13:02:13 -08:00
Jeff Atwood 650de10cfe Merge pull request #482 from andrewmcguinness/main
Java implementation of 09_Battle
2022-01-10 12:49:44 -08:00
Josh Gribbon 01fb3bd500 Skip utilities folder 2022-01-10 15:46:51 -05:00
Josh Gribbon 2d2df36749 Fix relative path 2022-01-10 15:44:23 -05:00
Josh Gribbon 00a8bf8983 Move file 2022-01-10 15:42:08 -05:00
Andrew McGuinness 3fcb90cb2c Merge branch 'coding-horror:main' into main 2022-01-10 20:30:20 +00:00
andrew ea5c2cf72d Comment the input class 2022-01-10 20:26:50 +00:00