notcurses/doc/man/man1/nctetris.1.md
2021-11-30 02:16:17 -05:00

1.0 KiB

% nctetris(1) % nick black nickblack@linux.com % v2.4.99

NAME

nctetris - Render images and video to a terminal

SYNOPSIS

nctetris [-h|--help] [-l loglevel]

DESCRIPTION

nctetris implements Tetris using Notcurses.

The goal is to complete horizontal lines, without allowing tetriminos to reach the top of the screen. The falling tetrimino can be rotated counter- clockwise with the 'z' key, and clockwise with the 'x' key. The tetrimino can be moved left and right with 'h' and 'l', respectively. It can be moved down with 'j'. The arrow keys can also be used. Quit with 'q'.

OPTIONS

-h: Show help and exit.

-l loglevel: Log everything (high log level) or nothing (log level 0) to stderr.

NOTES

Optimal display requires a terminal advertising the rgb terminfo(5) capability, or that the environment variable COLORTERM is defined to 24bit (and that the terminal honors RGB escapes), along with a good fixed-width font with good coverage of the Unicode Block Drawing Characters.

SEE ALSO

notcurses(3)