-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (49 loc) · 1.82 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
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="./src/js/style.css" />
<title>Everest Runner</title>
</head>
<body>
<main>
<div class="image-container" id="game-intro">
<h1>Everest Runner</h1>
<button class="start-btn button" id="start-button">Start Game</button>
<div class="big-mountain"></div>
<div class="small-mountain"></div>
<img class="character" src="./assets/character/run/r_000.png" />
<div class="running-platform"></div>
</div>
<div id="game-container">
<div>
<!-- <p>Score: <span id="score">0</span></p> -->
<div class="scoreLives-wrapper">
<div class="score" id="score">
<h2 id="scoreCount"></h2>
</div>
<div id="lives"> </div>
</div>
<div id="game-screen">
<div class="big-mountain"></div>
<div class="small-mountain"></div>
<div class="running-platform"></div>
</div>
<div id="game-end">
<h1>Game Over</h1>
<button class="restart-btn button" id="restart-button">Restart</button>
<div class="big-mountain"></div>
<div class="small-mountain"></div>
<div class="running-platform"></div>
</div>
</div>
</main>
<script type="text/javascript" src="./src/js/points.js"></script>
<script type="text/javascript" src="./src/js/obstacles.js"></script>
<script type="text/javascript" src="./src/js/player.js"></script>
<script type="text/javascript" src="./src/js/game.js"></script>
<script type="text/javascript" src="./src/js/index.js"></script>
</body>
</html>