Commit Graph

2783 Commits

Author SHA1 Message Date
Jon Fetter-Degges
5e3e7d60ae couple more comment changes 2022-10-11 22:18:32 -04:00
Jon Fetter-Degges
7b929ecbb1 Small fixes and use min/max 2022-10-11 22:03:57 -04:00
Jon Fetter-Degges
5214f2a681 One more implementation note 2022-10-11 21:49:40 -04:00
Jon Fetter-Degges
14e59ac5fe Improve printing, make output closer to original
Implemented Display for CellState, and tweaked outputs to match the
BASIC implementation.

Also fixed some more comments.
2022-10-11 21:37:05 -04:00
Jon Fetter-Degges
6e46aba249 README file for the Rust port 2022-10-11 21:34:40 -04:00
Jon Fetter-Degges
15724219b5 Input bounds checking, refactor and cleanup
get_pattern now checks the size of the input to prevent out of bounds
writes., and converts String to Vec<char> immediately.

Refactors: changed function names, ran rust-fmt, improved some comments
2022-10-11 20:29:40 -04:00
Troy Campbell
dc18b29aef add go for Acey Ducey 2022-10-12 08:48:08 +10:00
Jon Fetter-Degges
a068af4bc9 Do bounds update in finish_cell_transitions
Merged the functionality of update_bounds into finish_cell_transitions,
eliminating a loop.
2022-10-11 16:26:28 -04:00
Jon Fetter-Degges
0d2b7c6559 Initial commit of Life in Rust 2022-10-11 12:43:22 -04:00
aconconi
97b28ee5b4 converted indentation to spaces 2022-10-08 20:52:11 +02:00
aconconi
71d53f167e linting, added porting notes for Lua 2022-10-08 20:16:30 +02:00
aconconi
3bf29b6f12 minor edits 2022-10-08 13:08:17 +02:00
AnthonyMichaelTDM
3a042277cd update markdown_todo_rust 2022-10-07 16:41:07 -07:00
aconconi
4dcde245f6 added print_balance function, linting 2022-10-07 18:59:43 +02:00
aconconi
45df425348 Lua port and readme for 29_Craps added 2022-10-06 16:10:27 +02:00
Anthony Rubick
ab73a8b75c Update README.md 2022-10-04 18:13:42 -07:00
Jeff Atwood
c7ed271201 Merge pull request #815 from AnthonyMichaelTDM/main
Rust implementation of 24_Chemist
2022-10-04 18:09:16 -07:00
AnthonyMichaelTDM
d20a5781b6 Rust implementation of 24_Chemist 2022-10-04 17:42:04 -07:00
Jeff Atwood
72dd9f43cf Merge pull request #813 from ugurkupeli/92-Trap-rust
92 Trap Rust
2022-10-04 16:27:59 -07:00
Jeff Atwood
2bfb08564e Merge pull request #811 from aconconi/33-lua-port
33_Dice Lua port.
2022-10-04 16:27:28 -07:00
Andrew Cooper
257ba1ab17 Capitalise first char of line 2022-10-05 07:45:50 +11:00
Uğur Küpeli
739496dd68 rust implementation 2022-10-04 21:59:02 +03:00
Uğur Küpeli
06f2e8cc7f Rust implementation 2022-10-04 18:31:45 +03:00
Uğur Küpeli
c18a1004a5 Rust implementation of 92 Trap 2022-10-04 18:30:30 +03:00
Andrew Cooper
d8dd694ea4 Rationalise visibility of context values 2022-10-03 22:19:51 +11:00
Andrew Cooper
0c9d3580f5 Move output to context 2022-10-03 22:00:42 +11:00
Andrew Cooper
d16d72965f Add title 2022-10-03 21:29:43 +11:00
Andrew Cooper
617053b1f4 Debug poem generation 2022-10-03 21:22:44 +11:00
aconconi
831e972d44 added NL at end of file 2022-10-02 18:04:10 +02:00
aconconi
a80534b13e Lua port created 2022-10-02 17:59:26 +02:00
Jeff Atwood
c1893239da Merge pull request #810 from recanman/main
Added Lua implementation of 63_Name
2022-09-30 11:13:43 -07:00
Andrew Cooper
f27908a3e4 Implement poetry generator 2022-09-29 22:46:10 +10:00
recanman
b25f2207e1 Create name.lua 2022-09-28 10:28:31 -07:00
Jeff Atwood
a49d610786 Merge pull request #803 from AnthonyMichaelTDM/main
Rust implementation of 92_train
2022-09-26 01:26:40 -07: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
Jeff Atwood
15b7759442 Merge pull request #807 from recanman/main
Added Lua implementation of 45_Hello
2022-09-26 01:26:22 -07:00
Jeff Atwood
5eebddc8b9 Merge pull request #808 from AnthonyMichaelTDM/patch-1
Update life_for_two.py
2022-09-26 01:26:04 -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
Anthony Rubick
db330787db Merge pull request #1 from coding-horror/main
pull
2022-09-22 14:57:03 -07:00
recanman
218130f858 Added Lua implementation of 45_Hello 2022-09-16 21:28:13 -07:00
Jeff Atwood
399a2a7e81 Merge pull request #802 from Vaxick/main
Fix qubit.py
2022-09-16 17:23:42 -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
Anthony Rubick
20d6b97d6e Merge branch 'coding-horror:main' into main 2022-09-08 19:29:42 -07:00
AnthonyMichaelTDM
58fd90f543 rust implementation of 92_Trap 2022-09-08 19:29:01 -07:00