@@ -0,0 +1,1240 @@
+package buscaminas;%0A%0A/**%0A *%0A * @author usuario%0A */%0Apublic class Tablero %7B%0A%0A    int nivel;%0A    int x;%0A    int y;%0A    int minas;%0A    int descubiertas;%0A    int estadoJuego;%0A    int%5B%5D%5B%5D t;%0A%0A    public Tablero(int nivel) %7B%0A        descubiertas = 0;%0A        switch (nivel) %7B%0A            case 1:%0A                minas = 10;%0A                x = 9;%0A                y = 9;%0A                break;%0A            case 2:%0A                minas = 40;%0A                x = 16;%0A                y = 16;%0A                break;%0A            case 3:%0A                minas = 99;%0A                y = 30;%0A                x = 16;%0A                break;%0A        %7D%0A%0A        t = new int%5Bx%5D%5By%5D;%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        StringBuilder sb = new StringBuilder();%0A        sb.append(%22    %22);%0A        for (char i = 0; i %3C x; i++) %7B%0A            char c = (char) ('A' + i);%0A            sb.append(%22  %22).append(c).append(%22 %22);%0A        %7D%0A        sb.append(%22%5Cn%22);%0A%0A        for (int i = 0; i %3C y; i++) %7B%0A            sb.append(String.format(%22 %252d %22, i + 1));%0A            for (int j = 0; j %3C x; j++) %7B%0A                sb.append(String.format(%22 %252d %22, t%5Bi%5D%5Bj%5D));%0A            %7D%0A            sb.append(%22%5Cn%22);%0A        %7D%0A%0A        return sb.toString();%0A    %7D%0A%7D%0A

Create Tablero.java