This is a simple snake game where the snake is controlled by a neural network. The game is built using SDL2. The ai itself is a reward based system where the snake is rewarded for eating the food and penalized for hitting the walls or itself.
Build your own
-
Make sure you have SDL2, Make and GCC installed.
-
Build the project
make
- Run the project
./snake