-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
95 lines (92 loc) · 2.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<html>
<head>
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" href="./css/layout.css" />
<link rel="stylesheet" href="./css/reset.css" />
<link
rel="stylesheet"
href="https://proicons.netlify.app/css/icons.min.css"
/>
<link rel="stylesheet" href="./css/car.css" />
</head>
<body>
<div class="menu" id="menu-splash">
<div class="menu-wrapper">
<span class="your-score">
Your Score:
<span id="score-2">0</span>
</span>
<div class="checkbox-outer">
<div class="checkbox-wrapper">
<input class="checkbox" type="checkbox" id="button-mode" />
<label for="button-mode" class="checkbox-button"
>Enable Buttons</label
>
</div>
</div>
<div class="rules">
<span class="title">Rules:</span>
<ol class="rules-body">
<li>
Press "D" on keybard or click D button on screen to move car
right.
</li>
<li>
Press "A" on keybard or click A button on screen to move car left.
</li>
<li>
Press "U" on keyboard or click anywhere except (A,D) buttons to
release bullet.
</li>
<li>
Speed of car will be increase time to time so be concentrate.
</li>
<li>Easy GAME Easy Rule :) that's it..😊😊😊</li>
</ol>
</div>
<div class="btn-wrapper">
<div class="play" id="play">
<i class="far fa-play-circle"></i> Play
</div>
</div>
</div>
</div>
<div class="container" id="background">
<div class="score-board">
<div class="score-board-inner">
<b>Score : <span id="score">0</span></b>
<b>Time: <b id="time">0</b> Sec</b>
<b
><i class="fas fa-rocket-launch"></i> :
<b id="bullet-count">0</b></b
>
<b>HI: <b id="high-score">0</b></b>
</div>
</div>
<div class="road-outer">
<div class="road" id="road-animator">
<div class="car-wrapper" id="road"></div>
</div>
</div>
</div>
<div class="container">
<div class="left-right">
<div>
<div class="left" id="left-btn">
<i class="fad fa-angle-double-left"></i>
A
</div>
<div class="right" id="right-btn">
D
<i class="fad fa-angle-double-right"></i>
</div>
</div>
</div>
</div>
<div class="assets-downloader"></div>
<script src="./js/utils.js"></script>
<script src="./js/car.js"></script>
<script src="./js/game.js"></script>
<script src="./js/index.js"></script>
</body>
</html>