head	1.3;
access;
symbols
	tonic_4:1.3
	tonic_3:1.3
	tonic_2:1.3
	demo:1.3.0.4
	design_report:1.3
	oral_presentation_freeze:1.3.0.2;
locks; strict;
comment	@% @;


1.3
date	95.11.21.11.22.11;	author daveg;	state Exp;
branches;
next	1.2;

1.2
date	95.11.20.21.32.38;	author daveg;	state Exp;
branches;
next	1.1;

1.1
date	95.11.20.05.57.20;	author daveg;	state Exp;
branches;
next	;


desc
@@


1.3
log
@fixed comment bugs
@
text
@Figure~\ref{fg:format-example} describes how a chess board is represented in a stream.
The fields in the stream are:
\begin{itemize}
\item {\verb+<next-turn-color>+} indicates which color moves next after the
board is loaded ({\tt W} or {\tt B}).

\item \verb|<timeleft>| is  two numbers indicating the number of 
  milliseconds left on each player's clock (white player first).

\item {\verb+<board>+} describes the content of each of the squares  on
  the board.  The first {\verb+<sq>+} in the first {\verb+<row>+}
corresponds to square A8 on the display, and the last {\verb+<sq>+} in
the last {\verb+<row>+} corresponds to square H1.  Each square is either
a blank (denoted by a hyphen) or a {\verb+<piece>+}.  A {\verb+<piece>+}
is either denoted by as lower case letters for black pieces or upper
case letters as white pieces.  ({\tt P} = white pawn, {\tt p} = black
pawn, {\tt K}/{\tt k}= white/black king, {\tt Q}/{\tt q} = white/black
queen, {\tt R}/{\tt r} = white/black rook, {\tt B}/{\tt b} = white/black
bishop, {\tt N}/{\tt n} = white/black knight)

\end{itemize}

\begin{figure}
\begin{center} \small \vbox{
\begin{verbatim}
                              W
                              300000 300000
                              rnbqkbnr
                              pppppppp
                              --------
                              --------
                              --------
                              --------
                              PPPPPPPP
                              RNBQKBNR
\end{verbatim}}
\end{center}
\caption{\label{fg:format-example}Load File for Initial Configuration}
\end{figure}

As an example, Figure~\ref{fg:format-example} shows the loading stream for
the initial board configuration.  Time left for each player is 5 minutes
(300 000 milliseconds).  In conventional layout, the white pieces are in
the bottom two rows and black pieces in the top two.
@


1.2
log
@fixed small comment
@
text
@d1 1
a1 1
Figure~\ref{fg:format} describes how a chess board is represented in a stream.
@


1.1
log
@Version 1.0 of chess display board format description
@
text
@a2 1
\ng
@
