<h2> Overview </h2>
-<p> In the following, lines prefixed with "<< " indicate input to the agent, lines prefixed with ">> " indicate output. </p>
+<p> In the following, lines prefixed with "<< " indicate input to the agent, lines prefixed with ">> " indicate output. </p>
<p> The end line character is a unix new line character '\n'. There is no carriage return. </p>
<p> A token prefixed with '$' is taken to be variable, whilst all other tokens are to be interpreted literally. </p>
<h2> Game start </h2>
-<p> << $colour </p>
+<p> << $colour </p>
<p> Where: </p>
<ol>
<li> $colour is either "white" or "black" and indicates the colour the agent will be playing as. </li>
<h2> Request: Selection </h2>
-<p> << SELECTION? </p>
-<p> >> $x $y </p>
-<p> << $x $y $index $type
+<p> << SELECTION? </p>
+<p> >> $x $y </p>
+<p> >> $x $y $index $type
<p> Where: </p>
<ol>
<h2> Request: Movement </h2>
-<p> << MOVE? </p>
-<p> >> $x $y </p>
+<p> << MOVE? </p>
+<p> >> $x $y </p>
<p> If an agent selects a piece that cannot move, it will not receive this request before its next selection. </p>
<h2> Update: Agent selects a piece </h2>
-<p> << $x $y $index $type </p>
+<p> << $x $y $index $type </p>
<p> Where: </p>
<ol>
<h2> Update: Agent moves a piece </h2>
-<p> << $x1 $y1 -> $x2 $y2 </p>
+<p> << $x1 $y1 -> $x2 $y2 </p>
<p> Where: </p>
<ol>
<li> Qchess does <b> not </b> provide any indication as to whether the move captured a piece or not </li>
</ol>
+<p> <b> Note: </b> The token between the two pairs of co-ordinates is a minus sign followed by a greater than sign. It's supposed to look like an arrow, but in html it's a bit hard to see. </p>
+
<hr>
<h2> Game ends </h2>
-<p> << QUIT </p>
+<p> << QUIT </p>
<p> Where: </p>
<li> If no request was made, the agent can assume the "update" is due to the action of the opponent. </li>
</ol>
<hr>
-<p> Page last updated 2013-02-18 by matches </p>
+<p> Page last updated 2013-02-19 by matches </p>
<p> <a href="http://www.ucc.asn.au">The UCC Website</a> </p>
<p> <a href="http://progcomp.ucc.asn.au/2013/web">UCC::Progcomp 2013</a> </p>