This AI plays the snake game I made earlier. The learning technique I used is Reinforcement Learning, or in other words, Reward Learning, where the AI agent receives a penalty for doing something wrong and a reward for doing something right.
This is a sped-up version for the agent playing the game, where the score in green is the current one, and the score in yellow is the highest achieved.
Screencast.from.2024-03-06.23-10-26.mp4
git clone https://github.com/OmarAzizi/Snake-AI.git && cd Snake-AI
To build and run the project
make && ./snake