A Tetris clone for the terminal, written in Rust.
- GAME BOARD: The main play area where pieces fall. It is 10 cells wide and 20 cells tall.
- NEXT: Shows the next piece that will appear after the current piece lands.
- S: Score - points earned by clearing lines. More lines cleared at once yields higher points.
- L: Lines - total number of complete lines cleared.
- L: Level - current difficulty level. Increases every 10 lines cleared, making pieces fall faster.
| Key | Action |
|---|---|
| ← / → | Move piece left/right |
| ↓ | Soft drop |
| ↑ | Rotate piece |
| Space | Hard drop |
| P | Pause/Resume |
| Q | Quit |
cargo run --releasecurl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/snvshal/termtris/main/install.sh | shFor Windows PowerShell, download the .zip from GitHub Releases and extract termtris.exe into a folder on your PATH.
On older Linux systems with glibc < 2.31, the installer will automatically use the musl build.
Download the latest release from GitHub Releases for your platform.
Checksum files (.sha256) are provided alongside each release artifact.
- Linux:
x86_64-unknown-linux-gnu,x86_64-unknown-linux-musl,aarch64-unknown-linux-gnu,aarch64-unknown-linux-musl - macOS:
x86_64-apple-darwin,aarch64-apple-darwin - Windows:
x86_64-pc-windows-msvc
- Rust (latest stable)
- cargo
MIT
