Keyboard Falling Blocks

6/16/2019

Play it here! (use chrome)(not available on mobile)

This is basically a "keyboard Tetris." You play using 40-keys on your keyboard.
1st row does 0 rotations: Keys [1 through 0]
2nd row does 1 rotations: Keys [q through p]
3rd row does 2 rotations: Keys [a through ;]
4th row does 3 rotations: Keys [z through /]

1st column moves the piece to column 0: Keys [1 through z]
2nd column moves the piece to column 1: Keys [2 through x]
etc etc
Shift to hold keys. Enter to restart. Back to go back. Space to cancel any keys being pressed-down.

In theory, you can play at the speed of thought and play much faster than what is possible. The bad thing is that the learning curve is steep and the amount of people who give up are pretty high. Most people don't even want to read the 2-page manual, which is 2 pages too many. First players normally take 10 minutes to complete 40 lines (10 tetrises).

After creating this game, I posted it on the Tetris community. People really enjoyed playing it. Some have brought to my attention that similiar such games have been created such as the video below. Here's a game called Finesse...


Link to Owner's Finesse game

My game was coded with outdated javascript so you'll see a lot of "vars," global variables, and other ugly stuff. As of this, writing (mid 2019), the best options are ECMAScript2015 (ES6), Babel (like a future version of JS), or Typescript (Microsoft's flavor of JS).

What did I learn from this? Most people don't like reading manuals. Most people don't like installing stuff and would rather click a link. Most people don't like huge learning curves.

Here's the code. Just don't try to make any money off of it or the Tetris folks will probably sue you.
Github here