Yes, the files in src.zip
have been updated.
The object file client.o
was last updated at 2pm on Friday 25 May; the other files were
updated at 2pm on Wednesday 23 May.
Please ensure you have the latest version.
You will notice that agent.c
and agent.h
have only changed in one place:
the prototype for agent_end()
is now
void agent_end( int loc_p[WIDTH+1][HEIGHT+1], int result, // WIN, LOSS or DRAW int cause // CAPTURE, ILLEGAL_MOVE, TIMEOUT or MOVE_LIMIT );The parameters to
agent_end()
are now the final
state of the board loc_p[][]
,
the result
of the game
(WIN, LOSS
or DRAW
) and the
cause
of the outcome
(CAPTURE, ILLEGAL_MOVE, TIMEOUT
or MOVE_LIMIT
).
We have now set up a mechanism for you to play your agent against other submitted agents. Details can be found here.
Yes, but you will have to translate client.c
into your
chosen language. If you are interested, send us an email and we will
send you the source code.
If you want to use C++, we believe it can be compiled and linked
to the existing client.o
directly. If you have any
problems, let us know.
If you want to use Java, write a makefile which produces
a file called client.jar
file.
The pre-defined opponents are Random
and
React
.
You are guaranteed to get at least 2 out of 10 for the
performance component if you can consistently defeat Random
,
and at least 4 out of 10 if you can consistently defeat
both Random
and React
.
After the submission deadline, all agents will be removed from the
repository except the pre-defined opponents
(Random, React, Look3
and Look7
).
Only agents which have been submitted by the deadline will
participate in the tournament.
You will still be able to use acplay
after the deadline,
but only to play against the pre-defined opponents, and against other
agents which have also been submitted after the deadline
(either through give
, or directly using acsubmit
).
Late submissions will close at 8pm on Friday 15 June, and all late submissions
will be tested against the on-time submissions.
They will be marked according to the same criteria as the on-time submissions,
except that the mark will then be capped according to the late penalty.