Skip to content

The aim of this work is to develop an AI that can play Snake.

Notifications You must be signed in to change notification settings

halykoss/SnakeRL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake RL

The aim of this work is to develop an AI that can play Snake.

Built With

Playing game

Getting Started

After cloning the repo you have to run:

conda env create -f environment.yml
conda activate snake

Usage

Training results

Training and Testing

Check Snake_Python.ipynb for usage.

Visualization

Check window.py for usage.

Results

After 100.000 episodes of training, on 200 episodes of testing, I had the following results:

Average score: 12.15 
Variance: 50.27 
Max Value: 27

About

The aim of this work is to develop an AI that can play Snake.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published