int evaluateState(Checker[][] state) {
        int whiteNumber = 0;
        int blackNumber = 0;
        for (int row = 0; row < 8; row++) {
            for (int col = 0; col < 4; col++) {
                if (state[row][col] != null) {
                    if (state[row][col].getColor() == 1) {
                        whiteNumber++;
                        if (state[row][col].isKing()) {
                            whiteNumber += 2;
                        }
                    }
                    if (state[row][col].getColor() == -1) {
                        blackNumber++;
                        if (state[row][col].isKing()) {
                            blackNumber += 2;
                        }
                    }
                }
            }
        }
        if (whiteNumber == 0) {
            return -100;
        } else if (blackNumber == 0) {
            return 100;
        } else {
            return whiteNumber - blackNumber;
        }
    }