feat: add alex
This commit is contained in:
@@ -61,9 +61,9 @@ function handleClick(dishName) {
|
|||||||
hideElement(customers[RandomCustomerIndex][failedTimes]);
|
hideElement(customers[RandomCustomerIndex][failedTimes]);
|
||||||
showElement(customers[RandomCustomerIndex][0]);
|
showElement(customers[RandomCustomerIndex][0]);
|
||||||
|
|
||||||
// louis safe
|
// alex safe
|
||||||
hideElement(louises[failedTimes])
|
hideElement(alexes[failedTimes])
|
||||||
showElement(louises)
|
showElement(alexes)
|
||||||
|
|
||||||
failedTimes = 0;
|
failedTimes = 0;
|
||||||
|
|
||||||
@@ -84,8 +84,8 @@ function handleClick(dishName) {
|
|||||||
hideElement(customers[RandomCustomerIndex][0])
|
hideElement(customers[RandomCustomerIndex][0])
|
||||||
showElement(customers[RandomCustomerIndex][1])
|
showElement(customers[RandomCustomerIndex][1])
|
||||||
|
|
||||||
hideElement(louises[0])
|
hideElement(alexes[0])
|
||||||
showElement(louises[1])
|
showElement(alexes[1])
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
hideElement(customers[RandomCustomerIndex][1])
|
hideElement(customers[RandomCustomerIndex][1])
|
||||||
@@ -93,8 +93,8 @@ function handleClick(dishName) {
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
hideElement(louises[1])
|
hideElement(alexes[1])
|
||||||
showElement(louises[2])
|
showElement(alexes[2])
|
||||||
// Delay for 2 seconds before redirecting
|
// Delay for 2 seconds before redirecting
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
window.location.href = 'alexlose.html';
|
window.location.href = 'alexlose.html';
|
||||||
@@ -168,7 +168,7 @@ document.addEventListener("DOMContentLoaded", function() {
|
|||||||
// Show a random customer
|
// Show a random customer
|
||||||
showElement(customers[RandomCustomerIndex][0]);
|
showElement(customers[RandomCustomerIndex][0]);
|
||||||
|
|
||||||
// Show normal louis
|
// Show normal alex
|
||||||
showElement('#alex img');
|
showElement('#alex img');
|
||||||
|
|
||||||
// Show hint bottom
|
// Show hint bottom
|
||||||
|
|||||||
Reference in New Issue
Block a user