tetris-tui

Crates.iotetris-tui
lib.rstetris-tui
version0.2.10
sourcesrc
created_at2023-09-13 14:38:46.911596
updated_at2024-01-12 11:30:49.807419
descriptionTetris in the terminal
homepagehttps://github.com/quantonganh/tetris-tui
repositoryhttps://github.com/quantonganh/tetris-tui
max_upload_size
id971522
size1,692,472
(quantonganh)

documentation

README

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
Commit count: 31

cargo fmt