Skip to content

Repository files navigation

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

About

simple bugs with neural network in their brains

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages