-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (75 loc) · 3.83 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
<!DOCTYPE html>
<html lang="en">
<head>
<script src="app.js" defer async></script>
<link rel="stylesheet" href="style.css">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<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=Anton&family=Bebas+Neue&family=Cardo:wght@700&family=Cinzel:wght@600&family=Kanit:wght@300;400&family=Londrina+Shadow&family=Merriweather+Sans:ital,wght@1,300&family=Montserrat+Alternates:wght@500&family=Mukta&family=Open+Sans&family=Poller+One&family=Roboto&family=Satisfy&family=VT323&display=swap"
rel="stylesheet">
<title>TRUCKER</title>
</head>
<body scroll="no">
<!-- <img class="images" id="main-page-img" src="images/side-truck.png" alt=""> -->
<h1>T R U C K E R</h1>
<main id="main-container">
<section class="levels-container">
<button id="start-btn">STREET LEVEL</button>
<div class="rules">
<p>Move using the ↑→↓← keys</p>
<p>Collect the <img src="images/Gold-boy.png" class="rules-character">, dodge the <img src="images/angry-boy.png" class="rules-character">, <img src="images/Agry-boy-2.png"
class="rules-character">, and <img src="images/Angry-boy-3.png" class="rules-character"></p>
<p>Beware! Things speed up every 500 points!</p>
<p>You win when Gold Frogs Left count gets to 0</p>
</div>
<img src="images/street-level.png" class="rules-img" alt="">
</section>
<section class="levels-container">
<button id="water-button">WATER LEVEL</button>
<div class="rules">
<p>Move using the ↑→↓← keys</p>
<p>Collect the <img src="images/Gold-boy.png" class="rules-character"> </p>
<p>Ride the <img src="images/dead-boy.png" class="rules-character">, avoid the water
<p>Beware! Things speed up every 500 points!</p>
<p>You can cross the finish line when the Gold Frogs Left count gets to 0</p>
</div>
<img src="images/water-level.png" class="rules-img" alt="">
</section>
<section class="levels-container">
<button id="tunnel-button">TUNNEL LEVEL</button>
<div class="rules">
<p>Move using the ↑→↓← keys</p>
<p>Collect the <img src="images/Gold-boy.png" class="rules-character">, avoid the tunnel walls</p>
<p>Beware! Things speed up after reaching 15 and 5 Gold Frogs Left </p>
<p>The tunnel gets more narrow with 10 Gold Frogs Left</p>
<p>You beat the level when the Gold Frogs Left count gets to 0</p>
</div>
<img src="images/tunnel-level.png" class="rules-img" alt="">
</section>
</main>
<div class="canvas-container">
<canvas id="canvas" height=750 width=900></canvas>
<canvas id="canvas-two" height=750 width=900></canvas>
<canvas id="canvas-three" height=750 width=900></canvas>
<canvas id="canvas-four" height=750 width=900></canvas>
</div>
<div id="scoreboard">
<span id="span-1"></span>
<span id="span-2"></span>
<span id="span-3"></span>
</div>
<!-- Endgame Screens -->
<div id="game-over-container" class="hide">
<h1> GAME OVER, YOU LOSE!!</h1>
<img src="images/battle-frog.png" alt="" id="game-over-img">
</div>
<div id="player-wins-screen" class="hide">
<h1>LEVEL COMPLETE, YOU WIN!!!</h1>
<img src="images/crown-frog.png" alt="" id="level-complete-img">
</div>
</body>
</html>