Skip to content

simple bugs with neural network in their brains

License

Notifications You must be signed in to change notification settings

Yoz75/NeuralLife

Repository files navigation

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

About

simple bugs with neural network in their brains

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages