Skip to content

Classic snake game where I solve it using a neural network and qlearn

Notifications You must be signed in to change notification settings

hugosjoberg/Snake-qlearn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake-qlearn

A implementation of the classic snake game and a neural networking using the q-learning algorithm to solve the game.

Here is a walkthrough of how I did,

https://hugosjoberg.github.io/walkthrough/2017/11/19/snake-q-learn.html

Installation Dependencies:

  • Python 3.6
  • Keras
  • pygame
  • scikit-image

How to Run?

git clone https://github.com/hugocool24/Snake-qlearn.git
cd Snake-qlearn
python qlearn.py -m "Run"

How to train?

python qlearn.py -m "Train"

About

Classic snake game where I solve it using a neural network and qlearn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages