https://github.com/yoz75/neurallife
simple bugs with neural network in their brains
https://github.com/yoz75/neurallife
csharp neural-network sfml simulation torch
Last synced: about 2 months ago
JSON representation
simple bugs with neural network in their brains
- Host: GitHub
- URL: https://github.com/yoz75/neurallife
- Owner: Yoz75
- License: mit
- Created: 2024-10-28T16:54:10.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-04-06T16:56:51.000Z (about 2 months ago)
- Last Synced: 2025-04-06T17:35:28.142Z (about 2 months ago)
- Topics: csharp, neural-network, sfml, simulation, torch
- Language: C#
- Homepage:
- Size: 43 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.youtube.com/watch?v=7xiCRcOfY3E](https://www.youtube.com/watch?v=7xiCRcOfY3E))
## 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