[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Single Comment
I don't think there is anything inherent in this game that would cause it to take too long to prevent check. There are alternate ways of preventing check. The original method was to check the locations where pieces can check from for the right sort of pieces. The new method, used in many presets now, is to check whether each enemy piece can make a legal move to the King's position. That won't work for the Withdrawer, but the method can be modified a bit. To capture the King, the Withdrawer would have to be able to move away one space. So that's all that would need to be checked for that piece. Anyway, look at the Eurasian Chess or Chinese Chess include files for examples of this second method. Also, in my own experience, the most common cause of a script timing out has been an infinite loop in the code.