.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "nctetris" "1" "v2.2.3" "" "" .hy .SH NAME .PP nctetris - Render images and video to a terminal .SH SYNOPSIS .PP \f[B]nctetris\f[R]\ [\f[B]-h|--help\f[R]]\ [\f[B]-l\ loglevel\f[R]] .SH DESCRIPTION .PP \f[B]nctetris\f[R] implements Tetris using Notcurses. .PP 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 \[aq]z\[aq] key, and clockwise with the \[aq]x\[aq] key. The tetrimino can be moved left and right with \[aq]h\[aq] and \[aq]l\[aq], respectively. It can be moved down with \[aq]j\[aq]. The arrow keys can also be used. Quit with \[aq]q\[aq]. .SH OPTIONS .PP \f[B]-h\f[R]: Show help and exit. .PP \f[B]-l loglevel\f[R]: Log everything (high log level) or nothing (log level 0) to stderr. .SH NOTES .PP Optimal display requires a terminal advertising the \f[B]rgb\f[R] terminfo(5) capability, or that the environment variable \f[B]COLORTERM\f[R] is defined to \f[B]24bit\f[R] (and that the terminal honors RGB escapes), along with a good fixed-width font with good coverage of the Unicode Block Drawing Characters. .SH SEE ALSO .PP \f[B]notcurses(3)\f[R] .SH AUTHORS nick black .