When you become a Patron, you get access to behind the scenes development logs, the ability to vote on which games I work on next, and early access to the next Basic HTML Game. Other Basic Gamesīasic HTML Games are made possible by users like you. Giving attribution is not required, but appreciated. There's no need to ask permission before using these. (CC0 1.0 Universal) You're free to use this game and code in any project, personal or commercial. This series is meant to give a basic outline of the game but nothing more. Important note: I will answer questions about the code but will not add more features or answer questions about adding more features. Allow the game to be scaled down to a phone size.When the Space key is pressed, the piece should be placed as far down as possible.Show the next piece (or pieces) that will enter the playfield.When a line is cleared, the score should increase based on the number of lines cleared at once.This is a basic implementation of the game Tetris, but it's missing a few things intentionally and they're left as further exploration for the reader.