-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (50 loc) · 1.73 KB
/
index.html
File metadata and controls
56 lines (50 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Chicken Invaders</title>
<meta name="description" content="Starter HTML file for the refresh sandbox" />
<link rel="stylesheet" href="styles.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Science+Gothic:wght@100..900&display=swap" rel="stylesheet">
</head>
<body>
<p id="lives">Lives: 0</p>
<div id="game-screen">
<div id="player"></div>
</div>
<p id="score">Score: 0</p>
<!-- Pause Menu -->
<div id="pause-menu" class="menu-overlay hidden">
<div class="menu-content">
<h2>Game Paused</h2>
<button id="continue-btn" class="menu-btn">Continue</button>
<button id="restart-btn" class="menu-btn">Restart</button>
</div>
</div>
<!-- Main Menu -->
<div id="main-menu" class="menu-overlay">
<div class="menu-content">
<h1>Chicken Invaders</h1>
<p class="subtitle">Defend Earth from the Poultry Invasion!</p>
<button id="start-game-btn" class="menu-btn primary">Start Game</button>
</div>
</div>
<!-- Game Over Menu -->
<div id="game-over-menu" class="menu-overlay hidden">
<div class="menu-content">
<h2>Game Over!</h2>
<div class="score-display">
<p id="final-score">Final Score: 0</p>
<p id="waves-reached">Waves Reached: 1</p>
<p id="time-survived">Time Survived: 0:00</p>
</div>
<button id="back-to-menu-btn" class="menu-btn primary">Back to Menu</button>
</div>
</div>
<!-- App scripts -->
<script type="module" src="script.js"></script>
</body>
</html>