Simulates the life and behavior of small colored squares called entities. Entities can move around at random, interact with other entities and reproduce to build colonies that share 'genetic' characteristics (mostly just color). Unfortunately, to control the population of these entities, disease also has a small chance to mutate in offspring which will spread by contact. Any entity that has contracted a disease will be unable to reproduce. They also have a tendency to eat one another. Ultimately the entities will live, spread, and die while creating interesting patterns/color palettes in a pseudo-biological way. Nothing in this project is scientific. I made it all up.
esc: pause program
del: delete selected entities
left click: drag to select, create, or delete entities
middle click: place entities of selected color extending outward
right click: drag screen
1, 2, 3, 4, 5, 6: change selected entities to Red, Green, Blue, Yellow, Purple, or Cyan respectively
ctrl+a: select all entities
ctrl+s: save current game state to a .ent save file (located in saves directory)
q: quit and exit the program
r: randomize selected entity colors
c: shift selected entity colors by one position (red values become green value, green becomes blue...)
f: invert selected entity colors
x: delete half of all entities
e: add six entities of each color to edges of screen
d: toggle whether diseased entities will be marked or not
l: toggle logging
h: toggle colony highlighting
p: toggle side panel
b: toggle bottom panel
Then simply clone and run:
python main.py
Or, if trying to load a save file, run:
python main.py (file-name).ent