- A modern Tetris clone for your terminal, written in Rust with a responsive TUI and optional soundtrack.
- Check out the crates.io page.
- Uses the Cursive TUI library and Rodio for audio.
- Music synthesized from MIDI from bitmidi.com.
- Runs on Linux, MacOS, and Windows
- Beautiful TUI graphics
- Difficulty scaling
- Piece holding
- Toggleable music
- Toggleable ghost piece
- Persistent highscore
Before getting started, make sure you have Rust and Cargo installed. Installing ALSA dev packages for (only needed for Linux):
# Ubuntu & Debian
sudo apt update
sudo apt install libasound2-dev pkg-config
# Fedora
sudo dnf install alsa-lib-devel pkgconf-pkg-config
# Arch
sudo pacman -S alsa-lib pkgconfInstalling Tetrs:
cargo install tetrs-tui# if your Cargo binaries are on your path:
tetrs
# otherwise:
cd ~
./.cargo/bin/tetrs- Distributed under the MIT License.
