We start with the input. In this tutorial you will learn: Thanks a ton!

Nearly all Tetris games allow the player to press a button to increase the speed of the current piece's descent or cause the piece to drop and lock into place immediately, known as a "soft drop" and a "hard drop", respectively. Keep an eye on it as it moves. This is the main loop.

Even though the pieces fall down constantly and the whole stack moves downwards to fill in any empty spaces, there is no actual gravity in Tetris. It will take me some time just like you to really get a grasp of this language. Original Tetris: