Sure! Here's a simple implementation of Tetris as a single HTML file, using JavaScript:
This simple implementation of Tetris uses keyboard controls (Left/Right/Down arrow keys for movement, Q/W keys for rotation). It supports basic Tetromino shapes and updates the player's score on each line cleared. The game is played on a canvas element and the blocks are represented by blue squares. You can run this HTML file on a smartphone and play Tetris. Enjoy!