diff --git a/S1.02/Jeu/ressources/Lab/Salle0 b/S1.02/Jeu/ressources/Lab/Salle0
index d0640db428e50b5963f5e10876589e34b2bbae90..6a0f07b971d3cb880f102d7a79e85793c415ba06 100644
--- a/S1.02/Jeu/ressources/Lab/Salle0
+++ b/S1.02/Jeu/ressources/Lab/Salle0
@@ -1,13 +1,13 @@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@......................................................................@
+@...................................M..................................@
@......................................................................@
@......................................................................@
@......................................................................@
@......................................................................@
@......................................................................@
-@......................................................................@
@.....................................................................S@
-@..................................P..................................S@
+@.....................................................................S@
@......................................................................@
@......................................................................@
@......................................................................@
diff --git a/S1.02/Jeu/src/Labyrinthe.java b/S1.02/Jeu/src/Labyrinthe.java
index b2754beaea7b89082a6d5f640d2a6fe6bd72447d..f40bfd69bacf71429fa8f73d5249370cf9954fea 100644
--- a/S1.02/Jeu/src/Labyrinthe.java
+++ b/S1.02/Jeu/src/Labyrinthe.java
@@ -211,7 +211,7 @@ class Labyrinthe extends Program{
}
if(positionL == 1){
indiceSalle[0] -= 1;
- return new int[]{length(Lab, 2)-3, 36};
+ return new int[]{length(Lab, 1)-3, length(Lab, 2)/2};
}
if(positionC == length(Lab, 2)-2){
indiceSalle[1] += 1;
@@ -219,7 +219,7 @@ class Labyrinthe extends Program{
}
if(positionL == length(Lab, 1)-2){
indiceSalle[0] += 1;
- return new int[]{2, 36};
+ return new int[]{2, length(Lab, 2)/2};
}
return new int[]{positionL, positionC};
}
@@ -580,9 +580,7 @@ class Labyrinthe extends Program{
char[][] salle = genererSalle("ressources/Lab/Salle"+lab[indiceSalle[0]][indiceSalle[1]].numero);
Question q = newQuestion("Quelle est la capital de la France", "paris");
afficherSalle(lab[1][0].numero);
- int[] indiceM = indiceDe('P', salle);
- salle[indiceM[0]-1][indiceM[1]] = 'M';
- salle[indiceM[0]-3][indiceM[1]] = 'B';
+ salle[length(salle,1)/2][length(salle,2)/2] = 'P';
afficheStringTab(load("ressources/score.csv"));
while(joueur.vie > 0 && !joueur.bossVaincu){