An AI powered snake game featuring genetic algorithms and deep Q learning.
- Python 3.8.10
pip3 install -r requirements.txt
Download and extract the weights and drag them into the bin
folder
- With display -
python3 main.py d ga
- Without display -
python3 main.py ga
- With display -
python3 main.py d dqn
- Without display -
python3 main.py dqn
NOTE training will overwrite any existing weights
- Genetic algorithm -
python3 train.py ga
- Deep Q network -
python3 train.py ga