Crates.io | tet-ris |
lib.rs | tet-ris |
version | 0.6.4 |
source | src |
created_at | 2023-04-25 03:28:38.619666 |
updated_at | 2023-08-10 06:12:45.826942 |
description | A play a quick game of 1984-ish Tetris right in the terminal! |
homepage | |
repository | https://github.com/manorajesh/tet-ris |
max_upload_size | |
id | 848167 |
size | 61,264 |
Civil-War-Reenactment Style of Tetris 1984 (with some quality-of-life improvements) in Rust!
play upside-down as well!
cargo install tet-ris
or
$ git clone https://github.com/manorajesh/tet-ris.git
$ cargo build --release
tet-ris
-h
OutputPlay 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]
--chars <2 CHARACTERS> Characters to use for tetrominoes [default: ██]
--no-colors Disable colors
-o, --original Return to 1984 Tetris
--sirtet Play Sirtet (Upside-down Tetris)
-h, --help Print help (see more with '--help')
-V, --version Print version
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.
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.