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 7f7a10c

Browse files
Update index.html with Mode Selection
1 parent cc0c45b commit 7f7a10c

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

‎01-Candy-Crush-Game/index.html‎

Lines changed: 12 additions & 2 deletions
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>
28-
</html>
38+
</html>

0 commit comments

Comments
(0)

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