gmamaladze / deep-snake

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deep-snake

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

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

About

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

License:MIT License


Languages

Language:JavaScript 62.2%Language:HTML 35.4%Language:CSS 2.4%