public boolean checkTurn(ConnectionToClient player) {
        if (player == playerX && currentMove == Move.X) {
            return true;
        } else if (player == playerX && currentMove == Move.O) {
            return false;
        } else if (player == playerO && currentMove == Move.X) {
            return false;
        } else if (player == playerO && currentMove == Move.O) {
            return true;
        }
        return true;
    }