The idea of this game is based on a tweet of @hakimel and also available on CodePen.
It is implemented with plain JavaScript, HTML and CSS. The library Hammer.js is the only external dependency which is added to realize touch gestures on mobile devices.