git@UCC - progcomp2012.git/atom - web/doc/manager_manual.txt history The UCC Programming Competition 2012 /?p=progcomp2012.git <progcomp@ucc.asn.au> static/git-favicon.png static/git-logo.png 2012-04-09T02:23:46Z gitweb Minor rule changes 2012-04-09T02:23:46Z Sam Moore matches@ucc.asn.au Sam Moore matches@ucc.asn.au 2012-04-09T02:23:46Z /?p=progcomp2012.git;a=commitdiff;h=f37d392713a0b6fec7a2c543edcd8402156f3744
Minor rule changes

simulate.py scores SURRENDER as 0 points for the surrendering AI, 3 points for its opponent.
SURRENDER can be sent instead of a normal move.

AIs must now place all 40 pieces during setup
  • [D] web/doc/manager_manual.txt
Added image output to manager, added plots to results pages 2012-03-04T11:10:39Z Sam Moore matches@ucc.asn.au Sam Moore matches@ucc.asn.au 2012-03-04T11:10:39Z /?p=progcomp2012.git;a=commitdiff;h=5f9adddd695f2664a0d690b59a779e40b51ade3d
Added image output to manager, added plots to results pages

Can generate images from manager program with the -I option
Can generate a video from these images with the -v option (Note: just runs ffmpeg)
These two options only work if the program was built with graphics enabled.

Note: You can generate a video from a saved log file by "./stratego -v video -o logfile"
So that's cool.

Results pages look nicer. Fixed bug with score updating between rounds.
Added pretty plots. Most plots end up being straight lines. But its pretty anyway.
  • [D] web/doc/manager_manual.txt
Tweaking manager/simulate.py, updating manual and webpage 2012-03-03T07:42:55Z Sam Moore matches@ucc.asn.au Sam Moore matches@ucc.asn.au 2012-03-03T07:42:55Z /?p=progcomp2012.git;a=commitdiff;h=476617a8222c8c56404c12a65dd75c55b8019542
Tweaking manager/simulate.py, updating manual and webpage

You can now pass arguments to your AI through the manager program.
Simply include the path to the AI and arguments in quotation marks.

EG:
./stratego "../../agents/foo/bar --debug" ../../agents/other/agent

simulate.py was making broken links to log files, fixed.

Logging of stderr! If anything is printed to stderr, it is all saved in logfilename.stderr by simulate.py

Tried to make the manual page better, probably failed.

Updated webpage since we have now changed the date.

Also tried to fix vixen again, haven't tested.
  • [D] web/doc/manager_manual.txt
Updated manual page for stratego 2012-02-02T10:39:21Z Sam Moore matches@ucc.asn.au Sam Moore matches@ucc.asn.au 2012-02-02T10:39:21Z /?p=progcomp2012.git;a=commitdiff;h=4dcf57563f5f4503ac70ec87158ae21bb9d2951d
Updated manual page for stratego
  • [D] web/doc/manager_manual.txt
Trivial changes to webpage 2012-01-12T12:24:41Z Samuel Moore loresat_laimto@hotmail.com Samuel Moore loresat_laimto@hotmail.com 2012-01-12T12:24:41Z /?p=progcomp2012.git;a=commitdiff;h=1dc2550dc93d6b0ab2cde1cd2fc76a2cf45faf21
Trivial changes to webpage
  • [D] web/doc/manager_manual.txt
[RULE CHANGE] "NO_MOVE" is no longer a legal 2012-01-06T05:39:24Z Sam Moore matches@clownfish.ucc.gu.uwa.edu.au Sam Moore matches@clownfish.ucc.gu.uwa.edu.au 2012-01-06T05:39:24Z /?p=progcomp2012.git;a=commitdiff;h=85cfed04e179dad45eefd9fdf747628addbf93fb
[RULE CHANGE] "NO_MOVE" is no longer a legal

Previously AIs could respond with "NO_MOVE" whenever they felt like.
Officially, now they can only respond with "NO_MOVE" when they have no mobile pieces left.
(That is, only Bombs and the Flag are left).

However the game should end by a VICTORY_ATTRITION condition as soon as either player loses its last mobile piece.
So technically, "NO_MOVE" can't ever be legally printed, because the game should have ended. If it doesn't, there is a bug.

Updated webpage, updated manual, updated README

Going to email the list later today.

Goodluck!

PS: The rule change is due to a mean initial setup, for example:

**********
**********
**********
BB**BB**BB
..++..++..
..++..++..
etc

Here, Red has placed Bombs in all three "lanes". Red is unable to move.
However, as long as Red can use "NO_MOVE", an unsuspecting Blue will lose most of its pieces on the Bombs.
(Unless Blue puts a miner up the front...) But anyway, being able to not move is silly and not allowed in the real game.
  • [D] web/doc/manager_manual.txt
[RULE CHANGE] *Victory by "attrition"* + Bug fixes 2011-12-24T10:59:38Z Sam Moore matches@ucc.asn.au Sam Moore matches@ucc.asn.au 2011-12-24T10:59:38Z /?p=progcomp2012.git;a=commitdiff;h=e1153eebe8cfd0c881cef2ff8fca63f130e736b3
[RULE CHANGE] *Victory by "attrition"* + Bug fixes

Minor bugs in the manager program fixed.
Changed some messages for clarity, can't remember what, look at diff.

Added VICTORY_ATTRITION; victory by destroying all of the opponents _mobile_ pieces
 (ie: Everything except Bombs/Flag)

This means we don't get results of DRAW or DRAW_DEFAULT when one AI destroys all the other's mobile pieces.
Since those games would last up to 5000 turns, this saves a lot of wasted time.

AI should still respond with "NO_MOVE" when they have no mobile pieces.

Made timeout value adjustable by an argument switch, '-T'
Altered simulate.py to use a timeout variable and supply the switch to the manager program.

So now I don't need to recompile and commit the manager program every time I want to test a different timeout value on mufasa!

Mufasa is now on game 3 of the test round, out of 12. After FIVE HOURS.
This particular game has lasted 1132 turns, with BLUE making "NO_MOVE" for the last 600 or so.
The new victory condition will stop this sort of thing :)

Merry Christmas!
  • [D] web/doc/manager_manual.txt
As suspected, it didn't work 2011-12-23T04:40:40Z Sam Moore matches@ucc.asn.au Sam Moore matches@ucc.asn.au 2011-12-23T04:40:40Z /?p=progcomp2012.git;a=commitdiff;h=240966427c658fe47f1e981abd21ae89c37033ff
As suspected, it didn't work

Need to also disable linking with the SDL and OpenGL libraries in the Makefile
But those libraries must have pulled in pthread, because then I got link errors until I added that to linking.

Attempt #2
  • [D] web/doc/manager_manual.txt
Added build option to build "stratego" without graphics 2011-12-23T04:30:38Z Sam Moore matches@ucc.asn.au Sam Moore matches@ucc.asn.au 2011-12-23T04:30:38Z /?p=progcomp2012.git;a=commitdiff;h=78293905481ab7a67e773d05350da29940a58ea6
Added build option to build "stratego" without graphics

I need this for mufasa (vm), which doesn't have SDL or OpenGL or even GNOME
Besides, it doesn't need it, and attempting to install them did not end well...

Still need to test that it actually builds on mufasa
  • [D] web/doc/manager_manual.txt
Moved manager manual page 2011-12-22T06:23:35Z Sam Moore matches@ucc.asn.au Sam Moore matches@ucc.asn.au 2011-12-22T06:23:35Z /?p=progcomp2012.git;a=commitdiff;h=df3358f2bdc1245d718ac27aed2b88a969e98e90
Moved manager manual page
  • [D] web/doc/manager_manual.txt