1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
|
.TH XTSERV 6 "Oct 13, 1996" "Roger Espel Llima"
.SH NAME
xtserv \- server for a synchronous multiplayer tetris
.SH SYNOPSIS
.B xtserv
[ -help ] [ -once ] [ -daemon ] [ -v ] [ -norestart ] [ -nospeedup ]
[ -p \fIport\fR ]
.SH OPTIONS
.TP
.BR "-daemon"
Makes
.B xtserv
detach from its controlling terminal, fork twice, close all its file
descriptors and change the current directory to '/'. Useful to start
.B xtserv
via rsh or from scripts.
.TP
.BR "-help"
Prints out a summary of the command-line options
.B xtserv
recognizes.
.TP
.BR "-once"
With this option,
.B xtserv
will exit after all clients have disconnected.
.TP
.BR "-v"
Sets verbose mode:
.B xtserv
will print information on clients connecting, disconnecting, starting
games, sending each other lines, losing, etc.
.TP
.BR "-norestart"
With this option,
.B xtserv
will not start a new game when all players but one have lost. The
players will have to press the 'play' button themselves to start.
.TP
.BR "-nospeedup"
With this option,
.B xtserv
will not automatically increase the game speed every time some user's number
of lines is greater than 10 x the current level.
.TP
.BR "-p"
Specifies a port for xtserv to use. The default is 19503.
.SH DESCRIPTION
.B xtserv
is the server for the synchronous multi-user version of Tetris,
.B xtris.
.B xtserv
listens for connections on a TCP port, keeps an internal list of
connected clients, and broadcasts information among clients to
manage starting the game, setting the level and mode, as well as
seeing each other's screens.
.B xtserv
is started automatically by
.B xtris,
with the option '-once', if
.B xtris
does not find an
.B xtserv
running on localhost, and no server host has been specified.
.B xtserv
will automatically restart a game when the one-but-last
player has lost, unless started with the option -norestart. It will
not automatically restart a game if the user is playing alone.
.B xtserv
will also drop all bots when there are only bots left in the game.
The server can handle
clients exiting, being killed or losing the connection even in the
middle of a game.
Killing an
.B xtserv
will cause all connected clients to exit.
.SH SEE ALSO
.BR xtris (6),
.BR xtbot (6)
.SH BUGS
None known; please report any bugs to the author.
.SH AUTHOR
.B xtserv
was written by Roger Espel Llima <roger.espel.llima@pobox.com>.
|