X-Git-Url: https://git.ucc.asn.au/?p=progcomp2013.git;a=blobdiff_plain;f=web%2Fagent_text.html;h=6e2fe90f003bf2b09c1cbd046982fac9010b4c92;hp=1bb5efc12cfcd7a128e1fdb28026924580a0b01a;hb=8ac03672ef496924adb437b66c75d70d9e2bcde3;hpb=baa4d9d6440dac63367a80b88b1c466deb9263a9 diff --git a/web/agent_text.html b/web/agent_text.html index 1bb5efc..6e2fe90 100644 --- a/web/agent_text.html +++ b/web/agent_text.html @@ -18,7 +18,7 @@
In the following, lines prefixed with "<< " indicate input to the agent, lines prefixed with ">> " indicate output.
+In the following, lines prefixed with "<< " indicate input to the agent, lines prefixed with ">> " indicate output.
The end line character is a unix new line character '\n'. There is no carriage return.
A token prefixed with '$' is taken to be variable, whilst all other tokens are to be interpreted literally.
@@ -26,7 +26,7 @@<< $colour
+<< $colour
Where:
<< SELECTION?
->> $x $y
-<< $x $y $index $type +
<< SELECTION?
+>> $x $y
+>> $x $y $index $type
Where:
<< MOVE?
->> $x $y
+<< MOVE?
+>> $x $y
If an agent selects a piece that cannot move, it will not receive this request before its next selection.
@@ -83,7 +83,7 @@<< $x $y $index $type
+<< $x $y $index $type
Where:
<< $x1 $y1 -> $x2 $y2
+<< $x1 $y1 -> $x2 $y2
Where:
Note: 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.
+<< QUIT
+<< QUIT
Where:
@@ -132,7 +134,7 @@Page last updated 2013-02-18 by matches
+Page last updated 2013-02-19 by matches