Restructure Rules #20
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently rules are only an evaluation function. This means unnecessary overhead when iterating through the grid of cells later. (iterate surviveRules, iterate birthRules) It also is not expandable to new effects (death effect, multiplication effect etc)
Therefore Rules should be buildable (through e.g. json input) to have an effect, an evaluation function and type of evaluation input (currently only neighbor count, could be history etc). Only effects should be necessary, the other two should have default implementations.
example implementation:
changed the description
added ~7009327 and removed ~7009326 labels
changed milestone to %4