reglé erreur

This commit is contained in:
Kruss
2020-05-14 11:11:31 +02:00
parent 52ae8c66d3
commit 75e611f2b1
5 changed files with 11 additions and 15 deletions

View File

@@ -32,20 +32,20 @@ public class ControleurIA {
int diff = jIA.getDifficulte();
switch (diff) {
case 1:
if (res < 25)
if (res < 60)
return true;
break;
case 2:
if (res < 50)
if (res < 80)
return true;
break;
case 3:
if (res < 75)
if (res < 100)
return true;
break;
default:
}
} else if (res < 10)
} else if (res < 30)
return true;
return false;
}

View File

@@ -314,8 +314,7 @@ public class Plateau extends Thread{
public boolean isPartieTerminee() {
return this.getStat(PARTIE_FINIE) == 1;
}
public void deplacer(Joueur currentJoueur) {
boolean attributed = false;