This repository contains a Python-based Snake game using the Pygame library. The game features a classic snake game with a simple AI integration using Q-learning for automation.
To run this game, you need Python and Pygame installed on your machine.
- Clone the Repository
git clone https://github.com/thormander/AI-Snake.git - Install Pygame
pip install pygame
- Through the command line (make sure to cd to directory installed in):
python snake.py
- Uses Q-learning to provide a simple reward system to control the snake to move toward the food