pause AI in opponent's turn (Temporary)
authorSam Moore <[email protected]>
Wed, 18 Jan 2012 13:36:47 +0000 (21:36 +0800)
committerSam Moore <[email protected]>
Wed, 18 Jan 2012 13:36:47 +0000 (21:36 +0800)
commit38c6e9b9fc245ca5e6e6cee2806cb64dcbd34e35
tree8558cd1f247ad0ce0a8c52b41bebb418be03b23a
parent1dc2550dc93d6b0ab2cde1cd2fc76a2cf45faf21
pause AI in opponent's turn (Temporary)

This is a temporary and not entirely effective solution, to prevent AI from spamming CPU useage to make their opponents time out.
Yes I could use renice instead, but its just as easy for an AI to get around.

I will have to replace this with a better solution. But I don't have one at the moment.
judge/manager/ai_controller.h
judge/manager/controller.cpp
judge/manager/controller.h
judge/manager/game.cpp
judge/manager/program.cpp
judge/manager/program.h

UCC git Repository :: git.ucc.asn.au