by Jae-Hyeong, Sim(@Kuax-Meat)
If you have any question, suggest an issue or send an email to me. mirelurk at kuax.org
This repo is an agent that plays snake
game with Google DeepMind's DQN(NIPS 2013).
- Windows 10 Professional 64-bit
- Anaconda 4.2.0 64-bit (Python 3.5.x)
- Tensorflow RC 1.0
- Pygame
- OpenCV
Uses 3 hidden Convolutional NN layer(same as DQN Nature 2015).
simply type this command.
> python play.py
and if you want to train,
> python train.py
If you want to fresh start, comment this line(insert #
on front of the line) and type
> python train.py
Details of Snake
for 8 hours(1,383,950 Frames and 69,989 Episodes) with Nvidia Geforce GTX 1070
This repo is highly based on
and yes, Google DeepMind's DQN. https://deepmind.com/research/dqn/
Game Snaky
Raw Code from
https://inventwithpython.com/pygame/chapter6.html
Thanks to Sung Kim(@hunkim)