Description
tetris is a terminal version of the classic falling-blocks game, written in Haskell on top of the brick terminal UI library. You start it by running the tetris command, and there are options for terminals where the default Unicode characters render badly, for skipping the level prompt and starting immediately, and for showing the current high score with tetris --high-score. It installs on macOS through Homebrew, on Arch Linux from the AUR, and on most Linux distributions through Snapcraft, or you can build it from source with Haskell's stack tool. Windows support is described as questionable, though building from source may work. The author notes the prebuilt Linux binary is dynamically linked and may not run on every distribution, and points readers who want to write their own terminal games to a brick tutorial.…
Highlights
- Tetris played in the terminal
- High score tracking via tetris --high-score
- Option for terminals with poor Unicode support
- Install via Homebrew, AUR, Snapcraft or from source
Ratings & Reviews
No ratings yet
Be the first to rate Tetris.
People also visit
Tetris FAQ
What is this project?
A terminal interface for Tetris, built with the brick library.
How do I install it?
On macOS with Homebrew, on Arch Linux from the AUR, on most Linux distributions via Snapcraft, or from source using stack.
Does it run on Windows?
Windows support is described as questionable, but you can try installing from source.
How do I see the high score?
Run tetris --high-score. See tetris --help for other options.
What are the best Tetris alternatives?
Popular alternatives to Tetris include Tetro Tui, 2048.c and Snake Game. See all Tetris alternatives
