A snake game trained using simple deep learning implemented in client side javascript.
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea Fixing to publish to heroku. Jun 29, 2017
src Updated readme. Oct 4, 2017
static Updated readme. Oct 4, 2017
.gitignore Initail commit Jun 29, 2017
.jshintrc Initail commit Jun 29, 2017
LICENSE
Procfile
README.md Updated readme. Oct 4, 2017
deep-snake.gif
deep-snake.iml Initail commit Jun 29, 2017
deep-snake2.gif Updated readme. Oct 4, 2017
package.json
server.js Initail commit Jun 29, 2017

README.md

deep-snake

A snake game trained using simple deep learning implemented in client side javascript.

Demo: deep-snake.herokuapp.com

NOTE: The page will only run correctly in ES6 compatible (newer) browsers.

What is this?

My goal was to create a simple demo of deep learning which is:

  • very small, but still funny
  • not too artificial
  • demonstrating learning effect in minutes
  • easy to read and modify

It is a toy. You can see how the snake is trained and gets gradually better. The whole deep learning "magic" is happening in your browser. By reloading the page you are wiping Snake's "brain". The complete code including visualization and the logic of the game is less then 500 lines.

Frameworks Used