#tetris #game #terminal

app tet-ris

A play a quick game of 1984-ish Tetris right in the terminal!

9 releases

0.5.2 May 18, 2023
0.5.1 May 18, 2023
0.4.2 Apr 28, 2023
0.2.3 Apr 25, 2023

#4 in Games

Download history 122/week @ 2023-04-22 13/week @ 2023-04-29 22/week @ 2023-05-06 60/week @ 2023-05-13 27/week @ 2023-05-20 10/week @ 2023-05-27

119 downloads per month

MIT license

41KB
1K SLoC

tet-ris

Build Status Build Status Build Status Downloads Version License

Civil-War-Reenactment Style of Tetris 1984 (with some quality-of-life improvements) in Rust!

demo

Installation

cargo install tet-ris

or

$ git clone https://github.com/manorajesh/tet-ris.git
$ cargo build --release

Usage

tet-ris

-h Output

Play Tetris 1984ish in your terminal!

Usage: tet-ris [OPTIONS]

Options:
  -g, --ghost                Disable ghost piece shown at the bottom of the board
  -c, --hold                 Disable hold piece with 'c' key
  -t, --tick <MILLISECONDS>  Gravity speed for the game [default: 10]
  -s, --save <FILE>          path to save file [default: save.tetris]
  -h, --help                 Print help (see more with '--help')
  -V, --version              Print version

How to Play

The objective of Tetris is to move and rotate falling pieces called tetrominoes in order to create complete horizontal lines. When a line is complete, it will be cleared, and the lines above it will drop down. The game becomes progressively faster as you clear more lines and level up.

Controls

  • Left Arrow: Move the active piece left.
  • Right Arrow: Move the active piece right.
  • Down Arrow: Move the active piece down (soft drop).
  • Up Arrow: Rotate the active piece clockwise.
  • Space: Hard drop the active piece.
  • C: Hold the active piece.
  • P: Pause the game.
  • Q: Quit the game.

Gameplay Images

Dependencies

~2.6–7.5MB
~127K SLoC