is checkmate and deadlock 检查是否被将死
bool isCheckMate(int team) { return (isCheck(team) && !canParryKill(team)) || isTrapped(team); }