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 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185
|
.TH PYTRIS 6
.SH NAME
pytris \- two players console tetris game
.SH SYNOPSIS
.B pytris
.I "[options]" hostname otherport myport
or
.B pytris
.I "[options]" -1|2 hostname
.I myport
is port your game listens to,
.I otherport
is port your opponent listens to.
.SH "DESCRIPTION"
.B pytris
is a networked two player console tetris game. During the game there are following
keys available:
u, left arrow - move to the left
o, right arrow - move to the right
i, up arrow - rotate
m, down arrow - move down faster
x - flip (horizontally) piece (only if flipping was allowed with
.B --flip
)
space - drop
.SH OPTIONS
When invoked without any arguments, pytris will be one player game, identical in style
to classical tetris.
.TP
.B -h, \-\-help
Show summary of options.
.TP
.B -v, \-\-version
Show version of program.
.TP
.B -a n, --ascii-chars=n
if n=0, do not use ascii characters to draw pieces
.TP
.B -c n, --colour=n
if n=0, do not use colour
.TP
.B -r n, --inverse=n
if n=1, use reverse colour
.TP
.B -x n, --vsize=n
set vertical size to n
.TP
.B -y n, --hsize=n
set horizontal size to n
.TP
.B --hzoom=n
set horizontal zoom
.TP
.B --vzoom=n
set vertical zoom
.TP
.B -p name, --pieces=name
select type of falling pieces, name is one of:
tritris
tetris
pentris
simple
extended
crazy
tetris is probably what you want (the original tetris pieces)
.TP
.B --beep=n
if n=0, do not beep at the end of game
default: do beep
.TP
.B --flip=n
if n=0, do not allow flipping (default)
if n=1, x flips horizontally
if n=2, x flips vertically
.TP
.B --next=n
show n next pieces (default 0)
.TP
.B --scores
only display high score table for given command line parameters
.TP
.B -n n, --nlevel=n
select network level, 1<=n<=3
the bigger level, the more information is transferred
.I --nlevel=3
is most complete, each movement is transferred to the
opponent. This is what you want, if your network connection allows it.
.I --nlevel=2
transfers the game situation only when a piece gets to the
bottom. This needs much less bandwidth than
.I --nlevel=3,
and yet does not impair playability too much.
.I --nlevel=1
transfers only changes in window size. Use on poor networks,
as a last resort.
.TP
.B -w n, --wait=n
if n=0, do not wait for your opponent to start game
.TP
.B --robot=n
if n=1, act as a (completely dumb) robot
.TP
.B --happyholik=n
if n=0, new piece is appearing gradually from the top.
if n=1, new piece appears as a whole at the top.
.TP
.B --shadow=n
if n=0, do not show shadow
if n=1, show black shadow (default)
if n=2, show nice colourful shadow
.TP
.B --pushing=n
push screen by n lines down when you complete a line. Default n=1. Could
be used to balance a weak player against stronger one, by setting his/her/its
(weak's)
.B --pushing
to more than 1.
.TP
.B -1
set myport 5634, otherport 5635
.TP
.B -2
set myport 5635, otherport 5634
.SH TIPS
You are logged in host1, your opponent in host2. You run
.B pytris
.I host2 5635 5634
your opponent has to run
.B pytris
.I host1 5634 5635
(or other port numbers, but notice he/she/it has them in reverse order to you)
To faciliate running the game, you can use default port. As player number 1,
type:
.B pytris
.I -1 host2
player number 2 types:
.B pytris
.I -2 host1
The game does not require that both players have the same size of
playfield. If however they have not, the behaviour is undefined (most
probably the game will crash).
The game also does not require that both players have other options the
same. If they do not have, it could be used to discriminate better
players.
You can reconnect to an already running game, if you use the
.I --wait=0
option
Using negative value for
.I --pushing
can produce an interesting gameplay experience.
.SH "SEE ALSO"
.BR xtet42 "(6)
.SH AUTHOR
Radovan Garab\('ik <garabik@kassiopeia.juls.savba.sk>
|