Skip to content

quantonganh/tetris-tui

Repository files navigation

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

About

Tetris in the terminal

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages