left and right arrow keys move your block left and right, up and down rotate it. Hit spacebar to speed your block down to its resting space, fill an entire row to eliminate it. Let the blocks reach the top and you lose!
Sorry it's so small, you can zoom in if necessary. If I get enough people asking I will make a youtube tutorial on how I made this game. This game is still in progress so if you find any bugs please tell me in the comments. Thank you.