-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (49 loc) · 1.99 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gotta Dodge'em All</title>
<link rel="stylesheet" href="styles/mainscreen.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,700;1,700&display=swap" rel="stylesheet">
</head>
<body>
<main>
<audio class="mainbg" volume="0.1" src="music/hill-climb-racing_1.mp3" autoplay loop ></audio>
<div class="loadbox">
<div class="tutorial">
<!-- <div class="cross">
<button class="crossbutton"><img class="crossimg" src="styles/cross.png"></button>
</div> -->
<p>Rules</p>
<ul>
<li>The goal is to dodge the obstacles using arrow keys</li>
<li>The speed will increasing automatically</li>
<li>For every obstacle you dodge you will earn a point</li>
<li>The game will be over when you hit an obstacle</li>
</ul>
<p>Controls</p>
<ul>
<li>Press <b>left arrow key</b> to move left</li>
<li>Press <b>right arrow key</b> to move right</li>
</ul>
</div>
<img src="styles/intro.jpg" alt="Gotta Dodge'em All">
<div class="start_button_div">
<button class="start_button">Let's Go!</button>
</div>
<div class="intropage_buttons">
<button class="music_off">
<img class="music" src="styles/volume-up.png">
</button>
<button class="howtoplay">
<img src="styles/question-sign.png">
</button>
</div>
</div>
</main>
<script src="scripts/loadbox.js"></script>
</body>
</html>