summaryrefslogtreecommitdiffstats
path: root/CLI
AgeCommit message (Collapse)AuthorFilesLines
2020-12-03Remove the templated speca14m1-4/+0
2020-12-02Add the specs for the input file generatora14m1-0/+49
2020-12-02Add testing for universea14m1-0/+146
2020-12-02Update the Universe implementationa14m1-3/+33
Moving neighbors implementation from cells to universe as per the single responsibility principle that the universe should be responsible for it's object states and that the cells are only aware of their neighbors (via the universe) by passing the neighbors sub-universe to each cell
2020-12-02Remove unused requires from Cella14m1-1/+0
2020-12-02Use x,y coordinates instead of pos_x (and disable rubocop warning)a14m4-16/+23
2020-12-02Move the plane into the lexically correct spec foldera14m1-0/+0
2020-12-02Add the rspec for the cell classa14m1-0/+139
2020-12-02Refactor the cell class to allow easier testing and SRP interfacea14m1-33/+9
2020-12-02Implement the basics of GameOfLife universea14m1-6/+15
2020-12-02Add the implementation for the GameOfLife Cell classa14m1-3/+93
2020-11-30Add the cyclic plane (circular array) implementation w/testinga14m2-0/+66
2020-11-30Alias the method alive?a14m2-1/+6
This provide the future flexibility when needing to override the method to provide a custom behaviour it can be done and removing of the alias and the rest of the class should be untouched
2020-11-30Configure live/dead cells representation via CLI optionsa14m2-1/+10
2020-11-30Add the x,y position to the cell attributesa14m2-4/+8
2020-11-30Add the private populate method to populate the generated universea14m1-10/+14
2020-11-30Use class notation for adding class methodsa14m1-23/+26
This to allow private class methods Ref: https://medium.com/rubycademy/3-ways-to-make-class-methods-private-in-ruby-64b970e54613
2020-11-29Fix some linting issuesa14m3-3/+7
2020-11-29Remove linting issuea14m1-1/+1
2020-11-29Use the more common delegate method (ruby std not rails)a14m1-1/+1
2020-11-29Add the basic Universe classa14m1-0/+26
2020-11-29Add the basic cell representation objecta14m2-0/+20
2020-11-29Add the basics for input generatora14m3-1/+38
2020-11-29Auto load the generators (to lazy load) only required generatora14m1-1/+5
2020-11-29Add CLI default options parsing (Thor)a14m2-0/+44
2020-11-27Add thor dependency to build CLIa14m2-0/+4
2020-11-27Update the documentation for the ruby gema14m1-30/+15
2020-11-27Initial commit of the ruby gema14m14-0/+251