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.
$ git clone https://github.com/7enTropy7/Serpinco_.git
$ cd Serpinco_/
$ tree
.
├── ai.py
├── elements
│ ├── apple.png
│ └── square.png
├── LICENSE
├── README.md
├── requirements.txt
└── snake.py
1 directory, 7 files
$ pip3 install -r requirements.txt
$ 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
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details