Skip to content

Commit ccd8074

Browse files
committed
Updated Candy Crush
1 parent 0c04171 commit ccd8074

File tree

3 files changed

+227
-179
lines changed

3 files changed

+227
-179
lines changed

01-Candy-Crush-Game/index.html

+11-1
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,20 @@
1919
<script src="script.js" charset="utf-8"></script>
2020
</head>
2121
<body>
22+
<!-- Mode Selection Screen -->
23+
<div id="modeSelection">
24+
<h2>Choose Game Mode</h2>
25+
<button id="endlessMode">Endless Mode</button>
26+
<button id="timedMode">Timed Mode</button>
27+
</div>
28+
<!-- Scoreboard with Timer and Change Mode Button -->
2229
<div class="scoreBoard">
2330
<h3>score</h3>
24-
<h1 id="score"></h1>
31+
<h1 id="score">0</h1>
32+
<div id="timer"></div>
33+
<button id="changeMode">Change Mode</button>
2534
</div>
35+
<!-- Game Grid -->
2636
<div class="grid"></div>
2737
</body>
2838
</html>

0 commit comments

Comments
 (0)