-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (35 loc) · 1.07 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Dino Game</title>
<link rel="stylesheet" href="./styles.css" />
</head>
<body id="game" class="">
<div class="score">
<span class="current-score">00000</span>
</div>
<div class="ground">
<div class="cactus"></div>
</div>
<div class="messages">
<p>Press any button to play</p>
<p>Game over</p>
</div>
<div class="dino">
<div class="center"></div>
</div>
<div class="resources">
<audio class="audio-jump" src="./assets/jump.wav"></audio>
<audio class="audio-die" src="./assets/die.wav"></audio>
<audio class="audio-point" src="./assets/point.wav"></audio>
</div>
<div class="footer">
<input type="checkbox" name="selfplay" id="selfplay" value="true" />
<label for="selfplay">Enable Self Play</label>
</div>
<script src="./app.js"></script>
</body>
</html>