-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
61 lines (60 loc) · 1.93 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
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="./frontend/css/style.css">
<link rel="stylesheet" type="text/css" href="./frontend/css/flappy.css">
<script src="./frontend/js/cookie.js"></script>
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<header>
<nav>
<ul>
<li>
<a href="./shop.html">Shop</a>
<a href="https://github.com/xflipperkast/Flappy-Bird" id="githubLink">Github</a>
</li>
</ul>
</nav>
</header>
<div id="toggleContainer">
<p>Play on phone</p>
<label class="switch">
<input type="checkbox" id="switch">
<span class="slider round"></span>
</label>
</div>
<div id="gameBox">
<div id="bird"></div>
<div class="obstacleTop"></div>
<div class="obstacleBottom"></div>
<div class="obstacleTop"></div>
<div class="obstacleBottom"></div>
<div class="coin"></div>
<div class="coin"></div>
<div id="getReady" style="display: none;">
<img src="./frontend/images/get ready.png" alt="Get Ready">
</div>
<div id="scoreContainer">
<div id="score"></div>
</div>
<div id="medalBox" style="display: block;">
<div id="medalContainer">
<div id="goldMedal"></div>
<div id="silverMedal"></div>
<div id="bronzeMedal"></div>
<div id="gameOver"></div>
</div>
</div>
</div>
<div id="groundBox">
<div class="ground"></div>
<div class="ground"></div>
<div id="groundShadow"></div>
</div>
<div id="touchBox">
<p>Touch here to fly :D</p>
</div>
<script src="./frontend/js/flappy.js"></script>
</body>
</html>