Commit Graph

42 Commits

Author SHA1 Message Date
Stefan Waldmann a7b9ab89c6 Edit README.md 2022-01-29 17:05:10 +01:00
Stefan Waldmann 1f3855e98c Edit README.md 2022-01-29 16:56:53 +01:00
Stefan Waldmann 17e011405d Merge remote-tracking branch 'upstream/main' into main 2022-01-29 16:51:24 +01:00
Stefan Waldmann 6f7e311b51 Add Javadoc 2022-01-29 16:30:42 +01:00
Stefan Waldmann 69a62c5c4b Prompt for ENTER to continue 2022-01-28 08:01:21 +01:00
Stefan Waldmann be5552f677 Add command line arg to stop after each generation 2022-01-28 07:57:44 +01:00
Stefan Waldmann 7dadd251ab Evaluate invalid state 2022-01-19 07:20:50 +01:00
Nezumi Ronin d5a032e642 Create life.pl 2022-01-18 10:56:57 -06:00
Stefan Waldmann 064907c83e Print generation header formatted correctly 2022-01-17 19:08:19 +01:00
Stefan Waldmann 8df8eb6165 Refactor, add Javadoc 2022-01-17 18:48:29 +01:00
Stefan Waldmann b2735b1d2e Add Java implementation 2022-01-16 18:10:28 +01:00
Zev Spitz 75def2707d Add sln and csroj/vbproj files where missing 2022-01-16 08:17:31 +02:00
Dyego Maas 2ac2819151 Removed extra line printed after each generation, to better match the original's visuals. 2022-01-12 20:23:17 -03:00
Dyego Maas b93cc409e2 Adjusted message of "invalid" generations, matching the original. 2022-01-12 20:22:26 -03:00
Dyego Maas d52981de73 Refactoring. 2022-01-12 20:21:30 -03:00
Dyego Maas f70b6d42dd Refactoring. 2022-01-12 20:08:53 -03:00
Dyego Maas 7a7d92ce24 Compensated for the displacement that was occurring in the y axis by adjusting the "middle" to a valid value when working with zero based indexes. 2022-01-12 20:07:52 -03:00
Dyego Maas 5731a4df08 Temporary compensation for error calculating (possibly related to rounding) that caused misplacement of the initial pattern by 2 in the y axis. 2022-01-12 19:50:32 -03:00
Dyego Maas fd8c02371a Adjusting indexes. 2022-01-12 19:49:30 -03:00
Dyego Maas 6a3f0b3259 Fix various indexing problems that caused drifting. Now, the application behaves exactly like the original, even in "invalid" generations. 2022-01-12 16:09:10 -03:00
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
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
LukasMurdock 76c5e1e995 add 17-96 2022-01-03 02:13:21 -05:00
Chris Reuter d26dbf036a Removed spaces from top-level directory names.
Spaces tend to cause annoyances in a Unix-style shell environment.
This change fixes that.
2021-11-21 18:30:21 -05:00