Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

let's add more cell traits and interesting behaviors #10

Open
7yl4r opened this issue Oct 23, 2013 · 1 comment
Open

let's add more cell traits and interesting behaviors #10

7yl4r opened this issue Oct 23, 2013 · 1 comment

Comments

@7yl4r
Copy link
Owner

7yl4r commented Oct 23, 2013

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.
@7yl4r
Copy link
Owner Author

7yl4r commented Nov 20, 2016

List of cell movement traits based on behavior of "bugs" in qtbugs:

  • max age
  • min/max energy
  • move/stay energy costs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant