Commit Graph

48 Commits

Author SHA1 Message Date
JoeStrout
7753f6bf13 Added MiniScript versions of 55_Life and 56_Life_for_Two. 2023-09-12 16:03:29 -07:00
kbrannen
46f98ca01d added 56-life2 for perl
added a perl version for the game;
fixed a bug in the basic code;
updated the game's README;
updated perl's README.
2023-05-19 02:11:02 -05:00
Jeff Atwood
82953f2bdd Merge pull request #804 from drewjcooper/csharp-56-life-for-two
C# 56 life for two
2022-09-26 01:26:30 -07:00
Anthony Rubick
faf410a500 fixed unused variable error on line 41 2022-09-22 15:20:14 -07:00
Anthony Rubick
b2b0f03339 fix 'missing whitespace around arithmetic operators' error 2022-09-22 15:18:13 -07:00
Anthony Rubick
294c2fafa3 Update life_for_two.py
fixes syntax errors that were causing other PRs to fail python checks.
2022-09-22 15:14:34 -07:00
Andrew Cooper
ab574167aa Merge branch 'coding-horror:main' into csharp-56-life-for-two 2022-09-13 08:37:38 +10:00
Andrew Cooper
307c5e8ee7 Add coordinates enumerator 2022-09-13 08:17:26 +10:00
Andrew Cooper
a9ec4e3eb1 Add Life as a sequence of Gneerations 2022-09-13 07:56:27 +10:00
Andrew Cooper
db186bb86e Add Generation encapsulation 2022-09-13 07:21:53 +10:00
Andrew Cooper
3b208a1b92 Add Piece encapsulation 2022-09-12 07:26:09 +10:00
Andrew Cooper
8994d9b03c Move neighbour count to generation calculation 2022-09-09 07:57:51 +10:00
Andrew Cooper
3042247e06 Create Game class 2022-09-08 17:02:17 +10:00
Andrew Cooper
5e998088f9 Move player counts into Board 2022-09-08 08:11:08 +10:00
Andrew Cooper
c1d43a742a Simplify player input 2022-09-08 07:53:02 +10:00
Andrew Cooper
96a0d7bee5 Move generation calculation to Board 2022-09-07 21:37:28 +10:00
Andrew Cooper
2ccbdcc98d Move display to Board 2022-09-07 20:41:54 +10:00
Andrei Ursu
6ef7b1fc05 Fix life_for_two.py compile error.
It seems like it will always give a build error even if you don't touch this specific file, so I initialized everything at the start.
2022-09-06 01:40:49 +02:00
Andrew Cooper
28736b9dbe Make cell values binary 2022-09-02 08:40:46 +10:00
Andrew Cooper
b156755ee0 Move neighbour calculation 2022-09-02 07:54:18 +10:00
Andrew Cooper
99fb001f6c Add Coordinates.GetNeighbors 2022-08-26 16:32:48 +10:00
Jeff Atwood
c5a5f62213 Merge pull request #777 from aldrinm/main
Ported 56 Life for Two to Java
2022-08-25 14:39:17 -07:00
Andrew Cooper
93101cbad2 Add Board and Coordinates 2022-08-25 07:29:41 +10:00
Andrew Cooper
48eda0785d Clean up logic, names and strings 2022-08-20 21:34:52 +10:00
Andrew Cooper
fafddfbf1a Transliterate BASIC code 2022-08-20 17:58:35 +10:00
Andrew Cooper
276f7f543e Add program strucutre 2022-08-20 12:49:57 +10:00
Sajid Sarker
d899b156f4 Update life_for_two.py to remove type hinting 2022-07-24 12:36:50 +04:30
Sajid Sarker
57b1dd0993 Update life_for_two.py to remove type hinting 2022-07-24 12:35:46 +04:30
Sajid Sarker
ddb120e9cf Update life_for_two.py to remove type hinting 2022-07-24 10:00:32 +04:30
Aldrin Misquitta
da137fe6d0 Ported 56 Life for Two to Java 2022-07-21 16:55:40 +05:30
sajidsarker
b5aa8823ce Fix for python validation check. 2022-07-15 16:26:38 +04:30
sajidsarker
83bb9bd558 Complete with bug. 2022-06-29 02:36:44 +04:30
sajidsarker
45a1f12896 Bugged version. 2022-06-29 02:13:19 +04:30
sajidsarker
e0c790b6b9 First pass of functional port with various errors. 2022-06-28 16:23:09 +04:30
sajidsarker
8fc885a39c Bug fixes. 2022-06-28 03:08:26 +04:30
sajidsarker
08888ef90f First draft of Python port source code. 2022-06-27 21:03:34 +04:30
sajidsarker
77d5a8dde6 Initial Python file for Life for 2 on new branch. 2022-06-19 23:33:30 +04:30
sajidsarker
d4a020728b Initial Python file for Life for 2 on new branch. 2022-06-19 23:23:26 +04:30
sajidsarker
53457bfb9f Initial Python file for Life for 2 on new branch. 2022-06-19 22:53:40 +04:30
sajidsarker
1f29b1660d Initial Python file for Life for 2 on new branch. 2022-06-19 22:51:57 +04:30
Jeff Atwood
f40a1fc465 add Porting Notes to readme.md for each game 2022-03-18 19:50:22 -07:00
Jeff Atwood
6f6ac93d1f Merge pull request #633 from mojoaxel/js-terminal-style
Add "nice" terminal style stylesheet for javascript html
2022-03-15 23:50:18 -05:00
Jeff Atwood
43f2ec013a add 00_Alternate_Langage folder and move alternate ports there 2022-03-15 20:49:07 -07:00
Alexander Wunschik
f2b3d6f2ed add terminal-stylesheet for javascript html 2022-03-13 11:23:05 +01:00
Martin Thoma
e64fb6795c MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
2022-03-05 09:29:23 +01:00
Zev Spitz
75def2707d Add sln and csroj/vbproj files where missing 2022-01-16 08:17:31 +02: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