|
|
@ -338,7 +338,7 @@ function genererTouteslesCartes3_4Possibles() {
|
|
|
|
document.getElementById("containcards").appendChild(uneCarte.link);
|
|
|
|
document.getElementById("containcards").appendChild(uneCarte.link);
|
|
|
|
} else if (i != 2 && i != 5 && i != 8 && i != 11) {
|
|
|
|
} else if (i != 2 && i != 5 && i != 8 && i != 11) {
|
|
|
|
AllFigure.push(new Figure(TypeFigure.Moyen, FormeFigure.Rond, i % 3, Math.floor(i / 3)));
|
|
|
|
AllFigure.push(new Figure(TypeFigure.Moyen, FormeFigure.Rond, i % 3, Math.floor(i / 3)));
|
|
|
|
var uneCarte = new Carte(i + 12 * j, AllFigure);
|
|
|
|
var uneCarte = new Carte(i + 12 * (1 + k + j), AllFigure);
|
|
|
|
deckPartie.push(uneCarte);
|
|
|
|
deckPartie.push(uneCarte);
|
|
|
|
document.getElementById("containcards").appendChild(uneCarte.link);
|
|
|
|
document.getElementById("containcards").appendChild(uneCarte.link);
|
|
|
|
}
|
|
|
|
}
|
|
|
|