A terminal Tetris clone written in Rust, rendered with crossterm — no GPU or display server required, just a terminal.
- All 7 standard tetrominoes with 7-bag randomization
- Rotation with basic wall kicks
- Ghost piece drop preview
- Soft drop and hard drop
- Line clearing with classic scoring (single/double/triple/tetris)
- Level progression that speeds up gravity as you clear lines
- Next-piece preview and live score/lines/level panel
- Pause
Download a prebuilt binary from the latest release, or build from source:
git clone https://github.com/zkm/rustris.git
cd rustris
cargo build --release
./target/release/rustrisOr run directly without building manually:
cargo run --release| Key | Action |
|---|---|
← / → |
Move |
↓ |
Soft drop |
↑ or x |
Rotate |
Space |
Hard drop |
p |
Pause |
q / Esc |
Quit |
cargo build # debug build
cargo test # run tests
cargo clippy --all-targets --all-features -- -D warnings
cargo fmt --allLicensed under the MIT license.
