public void randomize() {
        SquareColor[] colors = SquareColor.values();
        Random rand = new Random();

        for (int row = 0; row < board.getHeight(); row++) {
            for (int col = 0; col < board.getWidth(); col++) {
                if (rand.nextInt(5) == 0) {
                    board.setSquare(row, col, colors[rand.nextInt(colors.length)]);
                }
            }
        }
    }