https://github.com/tearth/neural-snake
Simple experiment on neural networks playing Snake game based on evolutionary algorithms.
https://github.com/tearth/neural-snake
aforge aforge-net csharp dotnet neural-network neural-networks
Last synced: 29 days ago
JSON representation
Simple experiment on neural networks playing Snake game based on evolutionary algorithms.
- Host: GitHub
- URL: https://github.com/tearth/neural-snake
- Owner: Tearth
- License: gpl-3.0
- Created: 2018-05-01T10:35:15.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-12-14T23:18:15.000Z (over 6 years ago)
- Last Synced: 2025-09-04T12:57:00.307Z (9 months ago)
- Topics: aforge, aforge-net, csharp, dotnet, neural-network, neural-networks
- Language: C#
- Homepage:
- Size: 43.9 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Neural Snake
Simple experiment on neural networks playing Snake game based on evolutionary algorithms.

# Neural network parameters
**Input** (1 = yes, -1 = no):
* is top available to move
* is right available to move
* is bottom available to move
* is left available to move
* is food above snake
* is food to the right of snake
* is food under snake
* is food to the left of snake
**Output** ([-1, 1]):
* move top
* move right
* move down
* move left
# Used libraries:
* **AForge**: neural networks stuff