TETRIS(6) | Games Manual | TETRIS(6) |
tetris
—
tetris |
[-bps ] [-k
keys] [-l
level] |
tetris
command is a display-based game. The object
is to fit the shapes together forming complete rows, which then vanish. When
the shapes fill up to the top, the game ends. You can optionally select a
level of play, or custom-select control keys.
The default level of play is 2.
The default control keys are as follows:
The options are as follows:
-b
-b
option can be used to restore the
traditional black-and-white behavior.-k
-k
option. The keys argument
must have the seven keys in order, and, remember to quote any space or tab
characters from the shell. For example:
tetris -l 2 -k 'jkl
pqn'
will play the default games, i.e. level 2 and with the default control keys. The current key settings are displayed at the bottom of the screen during play.
-l
-s
-p
You can move shapes to the left or right, rotate them counterclockwise, or drop them to the bottom by pressing the appropriate keys. As you fit them together, completed horizontal rows vanish, and any blocks above fall down to fill in. When the blocks stack up to the top of the screen, the game is over.
The score list is produced at the end of the game. The printout includes each player's overall ranking, name, score, and how many points were scored on what level. Scores which are the highest on a given level are marked with asterisks “*”.
Manual adapted from the original entry written by Nancy L. Tinkham and Darren F. Provine.
Code for previewing next shape added by Hubert Feyrer in 1999.
February 18, 2015 | NetBSD 9.2 |