Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 866 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 866 Bytes

This is a simple simulation, every object is a cell on simulation field.

Types:

Red static cells are food, that bugs eat.
Gray static cells are spikes, bugs die when stands on them.
Moving green (or not green) cells are bugs, every division their color some changes (the more bug's neural network mutates, the more color changes).

How does it works:

Neural network sees 24 near cells (neighbors and their neighbors), knows self health and energy, then some magic and boom - it returns direction, where bug will move!

Controls:

R - restart simulation (other properties will save)
Q - spawn spikes
T - increase food life time
Y - decrease food life time
Plus - increase food spawn count
Minus - decrease food spawn count