├── .idea ├── .gitignore ├── inspectionProfiles │ └── profiles_settings.xml ├── misc.xml ├── modules.xml ├── snake-reinforcement-learning.iml └── vcs.xml ├── LICENSE ├── README.md ├── __pycache__ ├── blocks.cpython-36.pyc ├── dqn_agent.cpython-36.pyc ├── dqn_trainer.cpython-36.pyc ├── level_loader.cpython-36.pyc ├── snake.cpython-36.pyc └── summary.cpython-36.pyc ├── blocks.py ├── dqn_agent.py ├── dqn_trainer.py ├── examples ├── double_feed.gif ├── empty.gif └── obstacles.gif ├── level_loader.py ├── levels ├── 9x13_double_feed.yml ├── 9x9_empty.yml └── 9x9_obstacles.yml ├── play.py ├── snake.py ├── summary.py └── train.py /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml 3 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/.idea/inspectionProfiles/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/snake-reinforcement-learning.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/.idea/snake-reinforcement-learning.iml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/README.md -------------------------------------------------------------------------------- /__pycache__/blocks.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/__pycache__/blocks.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/dqn_agent.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/__pycache__/dqn_agent.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/dqn_trainer.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/__pycache__/dqn_trainer.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/level_loader.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/__pycache__/level_loader.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/snake.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/__pycache__/snake.cpython-36.pyc -------------------------------------------------------------------------------- /__pycache__/summary.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/__pycache__/summary.cpython-36.pyc -------------------------------------------------------------------------------- /blocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/blocks.py -------------------------------------------------------------------------------- /dqn_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/dqn_agent.py -------------------------------------------------------------------------------- /dqn_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/dqn_trainer.py -------------------------------------------------------------------------------- /examples/double_feed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/examples/double_feed.gif -------------------------------------------------------------------------------- /examples/empty.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/examples/empty.gif -------------------------------------------------------------------------------- /examples/obstacles.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/examples/obstacles.gif -------------------------------------------------------------------------------- /level_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/level_loader.py -------------------------------------------------------------------------------- /levels/9x13_double_feed.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/levels/9x13_double_feed.yml -------------------------------------------------------------------------------- /levels/9x9_empty.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/levels/9x9_empty.yml -------------------------------------------------------------------------------- /levels/9x9_obstacles.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/levels/9x9_obstacles.yml -------------------------------------------------------------------------------- /play.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/play.py -------------------------------------------------------------------------------- /snake.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/snake.py -------------------------------------------------------------------------------- /summary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/summary.py -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/choyi0521/snake-reinforcement-learning/HEAD/train.py --------------------------------------------------------------------------------