@ -36,4 +36,12 @@ bool istzugerlaubt_Dame(char** Brett, int startX, int startY, int endX, int endY
}
char endPosition = Brett[endY][endX];
if (player == PLAYER_WHITE && isupper(endPosition))
return false;
if (player == PLAYER_BLACK && islower(endPosition))
return true;