home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
games
/
volume4
/
chessbd
/
README
< prev
Wrap
Text File
|
1988-06-07
|
2KB
|
54 lines
Chessboard
----------
SYNOPSIS: chessboard [-h]
DESCRIPTION:
This is a graphic chess board, using ReGIS graphics for the VT240.
It takes Cartesian algebraic moves (e.g., e2e4) from the standard
input and sends the ReGIS commands to the standard output.
No legal move checking is done, other than making sure that a piece
exists before it is moved. Castling is specified by moving the king
two squares, and en-passant is also supported.
The program will set up the VT240 in ReGIS mode, and if the -h option
is specified, it will also set up the tty for cbreak mode and no
echo.
CAVEAT:
This program was written without a proper ReGIS manual, partially by
trial and error (especially the usage of the fill function),
and so there is no guarantee that it will work for you on your
terminal. However, it has worked here on several VT240's.
OPTIONS:
-h wait for space from /dev/tty before displaying
a move from the standard input.
FILES:
boardinit the initialization data file, and search path
$HOME/boardinit
abspath[]/boardinit
/dev/tty with -h, opened for "hit-space-to-continue" input.
SUGGESTIONS:
The following features should be supported:
- A user-defined initial position
- Saving of the current position
- Undoing of moves, and returning to a previous position directly
- Legal move checking
BUGS:
The display cannot be redrawn. Therefore, stopping the job will spoil
the display, as will any garbage sent by other programs to your tty.