bemonee / Practicing-Threads-With-Observer-Pattern

HomePage
0 stars 0 forks source link

Buenas Practicas #1

Open Gianotti opened 6 years ago

Gianotti commented 6 years ago

https://github.com/bemonee/TP-3-CARTAS/blob/5507c36d0e80e15b03e528eeade37cdb2505b09c/tpcartas/src/entitys/Repartidor.java#L30

Te dejo un mazo

  List<String> palos = Arrays.asList("Basto", "Copa", "Espada", "Oro");
        List<Card> mazo = new ArrayList<>();
        for (String palo : palos) {
            for (int i = 1; i < 13; i++) {
                mazo.add(new Card(palo, i));
            }
        }
bemonee commented 6 years ago

El inciso especificaba que la carta tenia que tener tipo?

Gianotti commented 6 years ago

No, solo te lo deje para que lo tengas al mazo.