X-Git-Url: https://git.ucc.asn.au/?p=progcomp2012.git;a=blobdiff_plain;f=agents%2Fvixen%2Fvixen.py;h=7c44aa33f46b67c70397f0545fa7b0266baf3ddb;hp=3aa47cb8d14c0882b7d426706a059595068b56ca;hb=4d45373e18e4d5dc84adb373cdc9000f83dfe38a;hpb=48216daa641008e0de21c5522d6e958a38b02093 diff --git a/agents/vixen/vixen.py b/agents/vixen/vixen.py index 3aa47cb..7c44aa3 100755 --- a/agents/vixen/vixen.py +++ b/agents/vixen/vixen.py @@ -67,9 +67,9 @@ class Vixen(BasicAI): moveList.sort(key = lambda e : e["score"], reverse=True) #sys.stderr.write("vixen - best move: " + str(moveList[0]["unit"].x) + " " + str(moveList[0]["unit"].y) + " " + moveList[0]["direction"] + " [ score = " + str(moveList[0]["score"]) + " ]\n") - if moveList[0]["score"] == 0: - print "NO_MOVE" - return True + #if moveList[0]["score"] == 0: + # print "NO_MOVE" + # return True print str(moveList[0]["unit"].x) + " " + str(moveList[0]["unit"].y) + " " + moveList[0]["direction"]