2 # Netris -- A free networked version of Tetris
3 # Copyright (C) 1994,1995 Mark Weaver <Mark_Weaver@brown.edu>
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License
7 # as published by the Free Software Foundation; either version 2
8 # of the License, or (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 # $Id: README,v 1.19 1995/07/11 07:50:45 mhw Exp $
22 This is an unfinished developmental version of Netris, a free
23 networked version of Tetris. It is distributed under the terms
24 of the GNU General Public License, which is described in the
25 file "COPYING" included with this distribution.
27 In order to compile Netris you will need gcc. You may be able to
28 compile it with another ANSI C compiler, but if you attempt this
31 It's been built and tested on at least the following systems:
34 NetBSD-current July 9, 1995
36 SunOS 4.1.1, 4.1.3, 5.3
39 If Netris doesn't build on your favorite system "out-of-the-box",
40 I encourage you to mail me context diffs to fix the problem so I
41 can fold it into the next version.
43 See the FAQ in this directory if you have any problems.
47 1. Run "./Configure" to create a Makefile and config.h appropriate
48 for your system. If you have problems running Configure with
49 your /bin/sh, try "bash Configure".
51 3. Make sure "./netris" works properly
52 4. Copy "./netris" to the appropriate public directory
54 Try "./Configure -h" for more options
58 To start a two-player game, do the following:
59 1. Player 1 types "netris -w". This means "wait for challenge".
60 2. Player 2 types "netris -c <host>" where <host> is the hostname
61 of Player 1. This means "challenge". Player 1 must be waiting
62 when this command is typed.
64 To start a one-player game, run netris with no parameters.
65 One-player mode is a tad boring at the moment, because it never
66 gets any faster, and there's no scoring. This will be rectified
69 To get usage, type "netris -h".
70 To use a port number other than the default, use the -p option.
71 To provide compatibility with the older protocol version, use
74 I plan on implementing a server that Netris players can connect to
75 to find other players with similar skill across the globe.
83 's' toggle spying on the other player
87 You can remap the keys using the -k option. The default is:
90 This version now at least partially supports robots. A rough description
91 of the protocol is in "robot_desc", and a sample robot is in sr.c.