[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!
Showing
- judge/manager/Makefile 2 additions, 2 deletionsjudge/manager/Makefile
- judge/manager/controller.cpp 5 additions, 2 deletionsjudge/manager/controller.cpp
- judge/manager/game.cpp 118 additions, 21 deletionsjudge/manager/game.cpp
- judge/manager/game.h 7 additions, 2 deletionsjudge/manager/game.h
- judge/manager/graphics.h 1 addition, 1 deletionjudge/manager/graphics.h
- judge/manager/main.cpp 25 additions, 9 deletionsjudge/manager/main.cpp
- judge/manager/movementresult.h 1 addition, 1 deletionjudge/manager/movementresult.h
- judge/manager/program.cpp 4 additions, 2 deletionsjudge/manager/program.cpp
- judge/manager/stratego.cpp 1 addition, 1 deletionjudge/manager/stratego.cpp
- judge/manager/stratego.h 2 additions, 2 deletionsjudge/manager/stratego.h
- judge/simulator/simulate.py 3 additions, 1 deletionjudge/simulator/simulate.py
- web/doc/manager_manual.txt 15 additions, 3 deletionsweb/doc/manager_manual.txt
Please register or sign in to comment