Merge branch 'development' of https://github.com/PTE-SH/ShadowHunterGame into development

This commit is contained in:
Paul Gross
2020-05-14 11:16:02 +02:00
5 changed files with 11 additions and 17 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;