Play Gluttonous Snake game by reinforce learning.
-
python lib:
pygame
,numpy
,matplotlib
. Run command follow to install:
pip install pygame pip install numpy pip install matplotlib
Use view.py
to run game performed by a trained model:
python view.py
Use train.py
to train model:
python train.py
You can use custom configuration to train by editing this file.