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

#115 in Games

Download history 19/week @ 2024-01-05 77/week @ 2024-01-12 2/week @ 2024-02-16 22/week @ 2024-02-23 16/week @ 2024-03-01 1/week @ 2024-03-08 7/week @ 2024-03-15 10/week @ 2024-03-29 63/week @ 2024-04-05 5/week @ 2024-04-12

78 downloads per month

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

~24–36MB
~531K SLoC