diff --git a/gameboard-easy.html b/gameboard-easy.html index 0223a83..d3448cc 100644 --- a/gameboard-easy.html +++ b/gameboard-easy.html @@ -220,7 +220,6 @@ body {
-
🎉 Selamat!
@@ -229,7 +228,6 @@ body {
Skor Base: 0
Time Bonus: 0
Move Bonus: 0
-
@@ -261,7 +259,6 @@ let time = 60; let moves = 0; let score = 0; let countdown; - let combo = 1; let lastMatchTime = 0; let pendingMatch = false; @@ -273,14 +270,11 @@ function showComboPopup(targetCard, combo, bonus) { COMBO X${combo}
+${bonus} Bonus `; - const rect = targetCard.getBoundingClientRect(); popup.style.left = rect.left + rect.width / 2 + "px"; popup.style.top = rect.top + "px"; popup.style.position = "fixed"; - document.body.appendChild(popup); - setTimeout(() => popup.remove(), 1500); } @@ -305,17 +299,14 @@ function startTimer() { function showEndScreen() { clearInterval(countdown); - let baseScore = score; let timeBonus = time * 5; let moveBonus = Math.max(0, 200 - moves * 10); let total = baseScore + timeBonus + moveBonus; - document.getElementById("baseScoreEnd").textContent = baseScore; document.getElementById("timeBonusEnd").textContent = "+" + timeBonus; document.getElementById("moveBonusEnd").textContent = "+" + moveBonus; document.getElementById("totalScoreEnd").textContent = total; - document.getElementById("endScreen").style.display = "flex"; } @@ -323,7 +314,6 @@ function flipCard(card) { if (!timerStarted) startTimer(); if (flipped.length === 2 || card.classList.contains("matched") || card.classList.contains("flipped")) return; - card.classList.add("flipped"); flipped.push(card); diff --git a/gameboard-medium.html b/gameboard-medium.html new file mode 100644 index 0000000..8a54ed2 --- /dev/null +++ b/gameboard-medium.html @@ -0,0 +1,392 @@ + + + + + +Memory Card Premium 4x4 + + + + + +
+ +
+
60s
+
0
+
🎯0
+
+
+ +
+
+
+
🎉 Selamat!
+

Anda berhasil menyelesaikan permainan!

+ +
Skor Base: 0
+
Time Bonus: 0
+
Move Bonus: 0
+
+ +
+ Total Skor: + 0 +
+ + + + + +
+
+ + + + +