2021-01-21 08:51:12 +00:00
|
|
|
|
% nctetris(1)
|
2020-03-22 21:33:08 +00:00
|
|
|
|
% nick black <nickblack@linux.com>
|
2021-04-18 17:24:24 +00:00
|
|
|
|
% v2.2.8
|
2020-03-22 21:33:08 +00:00
|
|
|
|
|
|
|
|
|
# NAME
|
|
|
|
|
|
2021-01-21 08:51:12 +00:00
|
|
|
|
nctetris - Render images and video to a terminal
|
2020-03-22 21:33:08 +00:00
|
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
|
2021-01-21 08:51:12 +00:00
|
|
|
|
**nctetris** [**-h|--help**] [**-l loglevel**]
|
2020-03-22 21:33:08 +00:00
|
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
2021-01-21 08:51:12 +00:00
|
|
|
|
**nctetris** implements Tetris using Notcurses.
|
2020-03-22 21:33:08 +00:00
|
|
|
|
|
2020-04-27 04:36:54 +00:00
|
|
|
|
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'.
|
|
|
|
|
|
2020-03-22 21:33:08 +00:00
|
|
|
|
# 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
|
2020-04-19 21:12:13 +00:00
|
|
|
|
**24bit** (and that the terminal honors RGB escapes), along with a good
|
2020-03-22 21:33:08 +00:00
|
|
|
|
fixed-width font with good coverage of the Unicode Block Drawing Characters.
|
|
|
|
|
|
|
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
|
|
**notcurses(3)**
|