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.
Showing
- judge/manager/ai_controller.h 2 additions, 0 deletionsjudge/manager/ai_controller.h
- judge/manager/controller.cpp 2 additions, 0 deletionsjudge/manager/controller.cpp
- judge/manager/controller.h 4 additions, 0 deletionsjudge/manager/controller.h
- judge/manager/game.cpp 4 additions, 2 deletionsjudge/manager/game.cpp
- judge/manager/program.cpp 35 additions, 1 deletionjudge/manager/program.cpp
- judge/manager/program.h 4 additions, 1 deletionjudge/manager/program.h
Please register or sign in to comment