Skip to content

The project implements the Snake game as an OpenAI Gym environment. Deep learning is implemented using the RLlib library. A convolutional neural network is used to work with the game frames.

License

Notifications You must be signed in to change notification settings

andrei-turcan/snake-deep-reinforcement-learning

Repository files navigation

Snake Deep Reinforcement Learning

Example

Description

This is a simple deep reinforcement learning project. The project implements the Snake game as an OpenAI Gym environment. Deep learning is implemented using the RLlib library. A convolutional neural network is used to work with the game frames.

Google Colab

Try it here Colab notebook

Installing dependencies

The project uses Python 3.7.

pip install -r requirements.txt

Train

python train.py

Play

Example:
python play.py checkpoint_example/checkpoint-100

About

The project implements the Snake game as an OpenAI Gym environment. Deep learning is implemented using the RLlib library. A convolutional neural network is used to work with the game frames.

Topics

Resources

License

Stars

Watchers

Forks

Languages