-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (35 loc) · 1.33 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PAC-MAN</title>
<link rel="stylesheet" href="style.css">
<script defer src="pacman.js"></script>
<script defer src="block.js"></script>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@1,900&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
</head>
<body>
<div class="splash">
<img id="logo" class="fade-in"src="logo.png" alt="">
<h2 class="fade-in">Here are the controls:</h2>
<img id="controls" class="fade-in" src="https://www.pngkey.com/png/full/711-7117679_wasd.png" alt="Game controls">
<h2 class="fade-in">W: Up S: Down A: Left D: Right</h2>
<h4 class="fade-in">Click anywhere to continue</h4>
</div>
<div id = stats>
<div id = "score"></div>
<div id = "lives"></div>
</div>
<div class="grid"></div>
<div id = "buttons">
<button id = 'start-button'>Start</button>
<button id = 'reset-button'>Restart</button>
<button id = 'audio-button'>Music ON/OFF</button>
</div>
<audio src=""></audio>
</body>
</html>