add : one move for sky
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user