This project aims to explore the ability of various AI models to play the timeless Snake game. The primary objective is to employ diverse AI models and assess their performance, drawing comparisons to discern their respective strengths and weaknesses.
- Create and activate virtual env with pyenv
pyenv virtualenv 3.10.12 snake_ai pyenv local snake_ai
- install the dependencies:
pip install -r requirements.txt
To train an agent:
python src/train_snake_runner.py
You can also play the game yourself:
python src/snake_runner.py