mirror of
https://codeberg.org/JasterV/MEMORY-CARD-GAME.git
synced 2026-04-26 18:20:03 +00:00
Update script.js
This commit is contained in:
parent
32dc7bd167
commit
36ca775089
1 changed files with 2 additions and 2 deletions
|
|
@ -225,7 +225,7 @@ function startGame(username) {
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
flipCards(imgDivArray);
|
flipCards(imgDivArray);
|
||||||
}, 3000);
|
}, 5000);
|
||||||
}
|
}
|
||||||
|
|
||||||
function isGameEnd(discoveredCards, cards) {
|
function isGameEnd(discoveredCards, cards) {
|
||||||
|
|
@ -315,4 +315,4 @@ let scoreContainer = document.getElementById("score-container")
|
||||||
|
|
||||||
scoreToggle.addEventListener("click", () => {
|
scoreToggle.addEventListener("click", () => {
|
||||||
scoreContainer.classList.toggle("fade-toggle")
|
scoreContainer.classList.toggle("fade-toggle")
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue