Sure, here's an example of a simple Tetris game implemented as a single HTML file using JavaScript:
To play the game, simply save the code above as an HTML file, and open it in a web browser. The game will start automatically, and you can use the arrow keys on your smartphone to control the tetrominoes (pieces) as they fall, trying to complete rows and earn points. The game will end if any blocks reach the top of the grid.