
About
Tetris is a puzzle video game created by Alexey Pajitnov in the mid-1980s, in which falling four-block tetrominoes are stacked and cleared by filling complete horizontal lines. Tetris Pyxel is a Python implementation of Tetris using the Pyxel retro-game engine, playable directly or through a WebAssembly build served over a local network so it can be reached from a browser, including on phones. The author wrote the initial version in about three days as a hobby project.
How it differs from the original
By the author's own account, it currently has no level progression or score display, incomplete sound effects, and a known bug where a moving piece can visually overlap another piece.
Getting started
Install Pyxel via pip inside a Python virtual environment, then run the game directly for the native version. For the WebAssembly build, use the project's build tooling and local game server, then open the given address in a browser — Chrome and Firefox are recommended, especially on phones.
Known limitations
- gameplay: Sound effects are incomplete; levels are not yet implemented.
- platform: WebAssembly version has performance considerations on different browsers; Chrome and Firefox recommended for phones.