← Back

Tetris

Drag anywhere to move it. Flick up to turn, flick down to drop. Tap to turn.

The moves

Drag sideways
The piece follows your thumb, one square per square. Your finger is never on top of it.
Flick up
Turn it a quarter. Keep flicking up without lifting off and it keeps turning.
Flick down
Drop it all the way, now. Two points a row for being sure.
Tap
Turn it, same as a flick up.
On a keyboard
Arrows move and turn, Space drops, C holds, P pauses.

Make it yours

The whole game is one file: william/pages/tetris/game.js. The top of it is a list of dials, and then a list of shapes.

A shape is just the squares it is made of. Add your own to the end of the list and it turns up in the well.

Nothing you change here is permanent. Break it on purpose.