Learning RL by training AI on the snake game
Beating the game with the help of AI has always fascinated me and this repo is my try at learning reinforcement learning on a simple snake game. The code is done with the help of Python + PyTorch + Pygame Reinforcement Learning – Train an AI to Play Snake by freecodecamp
After about 180 games the AI produced a maximum score of 68.
And after about 150 games the AI consistently scored 15+ in its trials.