Skip to content
/ DrawIT Public

A tetris-like game for the browser using machine-learning.

License

Notifications You must be signed in to change notification settings

chumo/DrawIT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DrawIT

This is a tetris-like game written in javascript (d3 web app) using a machine learning algorithm (random forest) to identify handwritten paths.

Instructions

  • The left panel presents two columns with falling objects. The object on the left will change randomly. The object on the right will be guessed by the application using your input.
  • Draw a single path on the canvas to associate that path to an object. The first rounds are used to train the application to recognise your paths as objects.
  • If you draw a path and it is guessed incorrectly, single click the canvas to loop through the objects. With every new assignment, the machine learning model used to recognise paths is retrained.
  • When the objects fall to the bottom, those that are duplicated will dissapear.
  • The falling speed increases with time and the game finishes when you reach 50 epochs.
  • Note that your paths must be simple enough to be able to draw them quick, but sophisticated enough to not confuse the app (too similar paths will be easily confused!).

Application

Visit http://chumo.github.io/DrawIT to see the app in action and play the game.

Screen shot

ScreenShot

Libraries

License

GNU GENERAL PUBLIC LICENSE v3.0 (see LICENSE file).

Enjoy!

Jesús Martínez-Blanco

About

A tetris-like game for the browser using machine-learning.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published