Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ccd8074

Browse files
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

Lines changed: 11 additions & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /