More cell traits can be added fairly easily. An example:
cell mass
mass is proportional to strength
mass is inversely proportional to speed
strength and speed are used in the 'move' phase. Higher strength allows cells to push or consume other cells, and a higher speed allows for more agile movement.
to implement this:
add mass up/down codon lists in cell.py as well as a function getMass. HINT: you don't need to search for the string yourself, there should be a function in cell.py that does that in a general fashion.
create a new top-level script for evolving cells with fighting rules (or something). This script will be similar to evolveWithMovement.py, but with the added code for strength/speed handling.
More cell traits can be added fairly easily. An example:
cell mass
strength and speed are used in the 'move' phase. Higher strength allows cells to push or consume other cells, and a higher speed allows for more agile movement.
to implement this: