19 releases

0.2.10 Jan 12, 2024
0.2.9 Jan 12, 2024
0.1.9 Jan 9, 2024
0.1.8 Oct 1, 2023
0.1.6 Sep 20, 2023

#145 in Games

MIT/Apache

1MB
1.5K SLoC

tetris-tui

Tetris in the terminal

Play tetris in 2-player mode

Installation

You can download the latest binary from the release page.

macOS

$ brew install quantonganh/tap/tetris-tui

Windows

scoop bucket add quantonganh https://github.com/quantonganh/scoop-bucket.git
scoop install tetris-tui

Install on NetBSD

# pkgin install tetris-tui

Install via cargo

$ cargo install tetris-tui

Usage

$ tetris-tui -h
Tetris in the terminal

Usage: tetris-tui [OPTIONS]

Options:
  -m, --multiplayer
  -s, --server-address <SERVER_ADDRESS>
  -h, --help                             Print help
  -V, --version                          Print version

Single player mode

$ tetris-tui

2-player mode

Player 1:

$ tetris-tui -m
Server started. Please invite your competitor to connect to 192.168.1.183:8080.

Player 2:

$ tetris-tui -m -s 192.168.1.183:8080

Dependencies

~25–36MB
~538K SLoC