add : one move for sky

This commit is contained in:
Sam
2025-11-08 11:46:34 +01:00
parent 4940103c0f
commit 5cf906b79e

View File

@@ -495,7 +495,7 @@ function selectAnimal(animal) {
setTimeout(() => {
closeMessage();
showMessage("Bravo, tu as replacé tous les animaux ! Sam est enfin libre ! Va maintenant voir Sky pour trouver le trésor !", false);
}, 4000);
}, 2000);
}
} else {
// Wrong answer - restart game
@@ -634,11 +634,12 @@ function moveSkyToTreasure() {
{ x: 9, y: 9, floor: 2 }, // Stairs on floor 2
{ x: 9, y: 9, floor: 1 }, // After taking stairs to floor 1
{ x: 12, y: 9, floor: 1 }, // After taking stairs to floor 1
{ x: 15, y: 2, floor: 1 }, // After taking stairs to floor 1
{ x: 13, y: 2, floor: 1 }, // After taking stairs to floor 1
{ x: 10, y: 4, floor: 1 }, // After taking stairs to floor 1
{ x: 10, y: 4, floor: 0 }, // After taking stairs to floor 1
{ x: 10, y: 5, floor: 0 }, // After taking stairs to floor 1
{ x: 15, y: 5, floor: 0 }, // After taking stairs to floor 1
{ x: 15, y: 3, floor: 0 }, // After taking stairs to floor 1
{ x: 12, y: 4, floor: 0 } // Final treasure position
];