-$Id: robot_desc,v 1.3 1996/02/09 08:22:16 mhw Exp $
+$Id: robot_desc,v 1.4 1999/05/16 06:56:30 mhw Exp $
GENERAL PROTOCOL
The robot should ignore commands which it doesn't recognize. The protocol
may be extended by adding extra commands without incrementing the version
-number. The version number will only be increased when the command cannot
+number. The version number will only be increased when a command cannot
be safely ignored.
Netris will also ignore commands which it doesn't recognize, for the same
--------------
This command is never sent in "fair" robot mode.
-Everytime a new piece is created, this command is sent to the robot.
+Every time a new piece is created, this command is sent to the robot.
<num> is a positive integer uniquely identifying the piece. <num> should
be sent as a parameter to each movement command (sent to Netris) in
order to prevent accidental movement of the wrong piece.
<row> is an integer from 0 to boardHeight-1. 0 is the bottom row.
<col0> ... <coln> are integers separated by spaces, one for each column.
-"0" indicates an empty square. Positive integers indicates blocks.
+"0" indicates an empty square. Positive integers indicate blocks.
Currently only "1" is used, but in the future there may be special kinds of
blocks indicated by higher numbers. Negative integers indicate part of
the currently falling piece. For each block, the absolute value of the
our side. <pausedByThem> is 0 or 1, indicating whether any player other
than our side has paused the game. If either is 1, the game is paused.
-You may actually receive this command even when none of the flags change.
+You may actually receive this command even when neither of the flags change.
NORMAL GAME (robot --> Netris)
EXAMPLE
=======
Here's a portion of an example log generated by the sample robot. The
-sample robot generates a log file in "log" if the "-l" is given to sr
-(eg "netris -r 'sr -l'").
+sample robot generates a log file in "log" if the "-l" option is given
+to sr (eg "netris -r 'sr -l'").
In this log file, every line is preceeded by two characters. Lines
sent from Netris to the robot are preceeded by two spaces " ", and