vivek3141 / snake-gym

A gym environment for the game snake, with a tiled version. Contains implementations for NEAT and RL.
https://pypi.org/project/snake-gym/
MIT License
9 stars 3 forks source link
deep-q-network dopamine dopamine-rl reinforcement-learning snake snake-ai

Snake-Gym

Downloads PyPi Version Python Compatibility License

Contains a gym environment for the classic game snake.

Implementing

Creating The Environment

The environment can be created by doing the following:

import gym
import snake_gym
env = gym.make("snake-v0")

Environments