summaryrefslogtreecommitdiffstats
path: root/CLI/rust/src/game_of_life
AgeCommit message (Collapse)AuthorFilesLines
2021-04-09Add seed generator/populate w/testsa14m1-3/+111
2021-04-09Fix linting issuesa14m1-1/+1
2021-04-09Refactor terminal_size_wrapper to allow mocking in CIa14m2-14/+25
2021-04-09Add a wrapper method to allow mocking terminal sizea14m1-2/+21
2021-04-08Remove unneeded debugging printa14m1-1/+0
2021-04-08Fix linting issuesa14m1-2/+4
2021-04-08Fix indexing the correct veca14m1-2/+2
Due to most test using square planes it didn't have much effect till debugging Display trait cropped printing. The effect of this bug was that the universe was cropped to match the height length but calculations were not wrong, just cropped
2021-04-08Add the Display trait implementation to allow renderinga14m1-1/+69
2021-04-08Add banner implementation for the opts struct w/testsa14m1-0/+43
2021-04-07Add the test for the toad pattern tooa14m1-0/+38
2021-04-07Use the len from plane and add testing for evolve methoda14m1-3/+51
2021-04-07Add the len method to the planea14m1-0/+18
2021-04-07Refactor PLane impl to be generic to allow nestinga14m3-51/+51
Wrap the outer vector in a plane to allow safer navigation
2021-04-07Add draft evolve implementationa14m1-1/+21
2021-04-07Fix linting issuesa14m1-7/+7
2021-04-07Add the universe neighbors method w/testinga14m1-0/+156
2021-04-07Fix the split testing of the plane/universea14m2-89/+81
2021-04-07Fix linting issuesa14m3-6/+4
2021-04-07Refactor module structure to split universe/planea14m6-193/+202
The objects will grow bigger and might be hard for readability to keep them in 1 file hence the split
2021-04-07Add Plane (circular array) implementation w/testinga14m2-24/+206
Refactor the code to use Plane struct instead of Vec<bool>
2021-04-06Add the URL generator w/testinga14m1-2/+73
2021-04-06Fix URL parsing to only support http (as curl lib)a14m1-2/+2
2021-04-06Refactor populate to work with strings and generate veca14m1-13/+14
2021-04-06Fix linting issuesa14m1-9/+12
2021-04-06Format the IO error to include an ending line breaka14m1-2/+10
2021-04-06Fix the regex to test URLsa14m1-1/+1
2021-04-05Add populate function w/testinga14m1-0/+80
2021-04-05Add generate_file_data implementation w/testinga14m1-3/+58
2021-04-05DRY testing with opts configurable objecta14m1-16/+10
2021-04-05Refactor return result instead of universe objecta14m2-8/+12
2021-04-05Add skeleton for URL/file generatorsa14m1-0/+67
2021-04-04Fix linting issue with unused vara14m1-1/+1
2021-04-04Configure generators to be mockablea14m2-0/+8
2021-04-04Add basic universe structa14m1-0/+9
2021-04-04Remove unneeded mockinga14m1-5/+1
2021-04-04Add the skeleton of the generators modules/methodsa14m3-0/+26
2021-04-03Add missing docsa14m1-0/+12
2021-04-03Add the Opts struct and parse CLI args into struct w/validationa14m1-0/+166
And add the testing of the opts struct and from initializers
2021-04-02Move validators module to it's own filea14m2-121/+119
2021-04-02Add the testing of width and height in optsa14m1-0/+52
2021-04-01Add the testing of is_positivea14m1-0/+20
2021-04-01Add the delay opt validationsa14m1-0/+9
2021-04-01Add CLI Width/Height validationsa14m1-0/+40