4 stable releases

23.96.1 Sep 8, 2023
22.67.2 Jun 7, 2022
22.66.1 Jun 7, 2022

#382 in Unix APIs

GPL-3.0 license

25KB
611 lines

Tetris CLI

Description

Tiny tetris game in a terminal

screenshot

Install with cargo install tetris-cli

Requires a Linux or other *nix Terminal (i.e. won't work in Windows Terminal)

Available for Arch on the AUR as tetris-cli-git

and on NetBSD tetris-cli from the official repositories.

Controls

  • a -> Move left
  • d -> Move right
  • q -> Rotate left
  • e -> Rotate right
  • s -> Instant drop
  • p -> Pause
  • Backspace -> Quit

Build dependencies

You should just need the Rust programming language installed and a *nix machine (Windows cmd is bad when it comes to terminal graphics).

Dependencies

~1.1–2.1MB
~41K SLoC