Skip to content

Commit ca65234

Browse files
committed
Fixed 4x4 grid to have 8 pairs
1 parent ef8e490 commit ca65234

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ <h1>🎮 Memory Card Game</h1>
1313
<div class="controls">
1414
<div class="difficulty">
1515
<label>Difficulty:</label>
16-
<button class="btn-difficulty" data-level="easy">Easy (4x4)</button>
17-
<button class="btn-difficulty active" data-level="medium">Medium (6x6)</button>
16+
<button class="btn-difficulty active" data-level="easy">Easy (4x4)</button>
17+
<button class="btn-difficulty" data-level="medium">Medium (6x6)</button>
1818
<button class="btn-difficulty" data-level="hard">Hard (8x8)</button>
1919
</div>
2020
<button id="resetBtn" class="btn-reset">New Game</button>

‎script.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// ============================================================================
44

55
const DIFFICULTY_CONFIG = {
6-
easy: { gridSize: 4, pairs: 4 },
6+
easy: { gridSize: 4, pairs: 8 },
77
medium: { gridSize: 6, pairs: 18 },
88
hard: { gridSize: 8, pairs: 32 }
99
};

0 commit comments

Comments
 (0)