static void setEngineColor(String turn) throws IOException {
        switch (turn) {
            case "white":
                color = "white";
                isForced = false;
                while (true) {
                    if (Moves.computeMove() == 1) {
                        break;
                    }
                }
                break;
            case "black":
                isForced = false;
                color = "black";
                break;
        }
    }