Skip to content

Latest commit

 

History

History
60 lines (45 loc) · 2.34 KB

README.md

File metadata and controls

60 lines (45 loc) · 2.34 KB

forthebadge made-with-python

Python 3.6 LinkedIn-profile License: GPL v3 GitHub followers GitHub stars

Serpinco_

Code for a Deep Reinforcement Learning based A.I agent that plays the classic Nokia Snakes Game. The game was developed using Pygame and the DQN algorithm was implemented using Keras.

Cloning

$ git clone https://github.com/7enTropy7/Serpinco_.git

Directory Contents

$ cd Serpinco_/
$ tree
.
├── ai.py
├── elements
│   ├── apple.png
│   └── square.png
├── LICENSE
├── README.md
├── requirements.txt
└── snake.py

1 directory, 7 files

Dependencies

$ pip3 install -r requirements.txt

Instructions

$ python3 snake.py --speed 70 --render True

Note :

  • You can adjust the Speed from 0 (slowest) to 100 (fastest).
  • Render can be set to either True or False

Now sit back and watch my AI play the game!

Output

ezgif com-gif-maker (1)

Author

LinkedIn-profile

License

License: GPL v3

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details