This project trains an agent to play the game of Snake using a Linear Q Neural Network. The agent uses the network to predict the optimal moves to make, and learns through reinforcement learning.
Made following this youtube video: Python + PyTorch + Pygame Reinforcement Learning – Train an AI to Play Snake