bool checkTakeEnemy(PlayerPiece currentPiece, PlayerPiece enemy) { return(enemy != null && enemy.GetPlayerNumber() == getOpponent(currentPiece.GetPlayerNumber())); }