Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

netris(6) [debian man page]

netris(6)							      Netris								 netris(6)

NAME
netris - networked version of tetris SYNOPSIS
netris [-wFDSCHR] [-c host] [-p port] [-k keys] [-i sec] [-r robot] [-s seed] DESCRIPTION
The object of the game Tetris is to fit the shapes together forming complete rows, which then vanish. When the shapes fill up to the top, the game ends. This version of Tetris can be played against other people over a network. OPTIONS
-w Wait for connection from another host running netris. -c host Initiate connection to waiting netris running on host. -p port Set the port number to use for connecting to netris, the default port is 9284. -k keys Remap keys, the argument is a prefix of the string containing the keys in order: left, rotate, right, drop, down-faster, toggle-spy- ing, pause, faster, redraw and new game. Use the "^" character to prefixes controls. The default is to use "jkl mspf^ln". -i sec Set the step-down interval, in seconds. -r robot Execute robot (a command) as a robot controlling the game instead of the keyboard. -F Use fair robot interface. -s seed Start with given random seed. -D Drops go into drop mode, this means that sliding off a cliff after a drop causes another drop automatically. -S Disable inverse/bold/color for slow terminals. -C Disable color. -H Show distribution and warranty information. -R Show the rules of the game. RULES
Two player mode It's just like normal Tetris except that when you clear more than one row with a single piece, the other player's board is moved up and junk rows are added to the bottom. If you clear 2, 3 or 4 rows, 1, 2 or 4 junk rows are added to your opponent's board, respectively. The junk rows have exactly one empty column. For each group of junk rows given, the empty columns will line up. This is intentional. The longest surviving player wins the game. One player mode This mode is currently very boring, because there's no scoring and it never gets any faster. This will be rectified at some point. I'm not very motivated to do it right now because I'm sick of one player Tetris. For now, use the "f" key (by default) to make the game go faster. Speed-ups cannot be reversed for the remainder of the game. AUTHORS
Netris was written by Mark H. Weaver <mhw@netris.org>. This manual page was written by Edward Betts <edward@debian.org>, for the Debian GNU/Linux system (but may be used by others). 0.5 3 Aug 2001 netris(6)

Check Out this Related Man Page

TETRIS(6)							 BSD Games Manual							 TETRIS(6)

NAME
tetris -- the game of tetris SYNOPSIS
tetris [-ps] [-k keys] [-l level] DESCRIPTION
The tetris command runs display-based game which must be played on a CRT terminal. 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: j move left k rotate 1/4 turn counterclockwise l move right <space> drop p pause q quit The options are as follows: -k The default control keys can be changed using the -k option. The keys argument must have the six keys in order, and, remember to quote any space or tab characters from the shell. For example: tetris -l 2 -k 'jkl pq' 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 Select a level of play. -s Display the top scores. -p Switch on previewing of the shape that will appear next. PLAY
At the start of the game, a shape will appear at the top of the screen, falling one square at a time. The speed at which it falls is deter- mined directly by the level: if you select level 2, the blocks will fall twice per second; at level 9, they fall 9 times per second. (As the game goes on, things speed up, no matter what your initial selection.) When this shape ``touches down'' on the bottom of the field, another will appear at the top. 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. SCORING
You get one point for every block you fit into the stack, and one point for every space a block falls when you hit the drop key. (Dropping the blocks is therefore a good way to increase your score.) Your total score is the product of the level of play and your accumulated points -- 200 points on level 3 gives you a score of 600. Each player gets at most one entry on any level, for a total of nine scores in the high scores file. Players who no longer have accounts are limited to one score. Also, scores over 5 years old are expired. The exception to these conditions is that the highest score on a given level is always kept, so that following generations can pay homage to those who have wasted serious amounts of time. 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 ``*''. FILES
/var/games/bsdgames/tetris-bsd.scores high score file BUGS
The higher levels are unplayable without a fast terminal connection. AUTHORS
Adapted from a 1989 International Obfuscated C Code Contest winner by Chris Torek and Darren F. Provine. 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. BSD
May 31, 1993 BSD
Man Page