This commit is contained in:
HP_pellel
2025-09-13 23:27:56 +02:00
parent e42364b2e2
commit 802c85adfb
29 changed files with 409 additions and 222 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ public class Partie{
throw new IllegalArgumentException("Ce n'est pas votre pièce.");
}
if(!piece.estDeplacementValide(coup, plateau)) {
System.out.println("ICI");
//System.out.println("ICI");
throw new IllegalArgumentException("Déplacement invalide.");
}
// System.out.println("sortie dans partie");