Demo here: blockdrop.benbooth.dev
BlockDrop is a shameless Tetris® clone using pure JavaScript, HTML and CSS.
I started writing it while teaching myself how to use JavaScript as a proper language and wean myself off jQuery. I'm also using it as a testing platform for various JavaScript, HTML5 and CSS3 features. I've tested in Chrome, Firefox, IE 9/10 and Chrome for Android so it should work on most modern platforms.
- ◀
ahor swipe ← moves the piece left - ▶
dlor swipe → moves the piece right - ▲
wkswipe ↑, or single tap rotates the piece 90° clock-wise - ▼
sjor swipe ↓ soft drops the piece (drop line by line) spacebarorenterhard drops the piece (drop all the way to the bottom)