press S to start
LEFT and RIGHT keys move the piece left and right
DOWN or SPACE drops the piece
UP rotates the piece
Q quits from the game
Source code
Built with Processing