-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
91 lines (85 loc) · 4.35 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OFFROAD IRONBIKE GAME</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<link rel="stylesheet" href="./styles/styles.css">
</head>
<body>
<div class="modal fade" id="staticBackdrop" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h6 class="modal-title" id="staticBackdropLabel">INSTRUCTIONS</h6>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<p>Hello Danny Hart! <br>
Try to get the max score possible in 150 seconds!! <br>
Jump the obstacles on the path! <br>
If you jump an obstacle, your score goes up by 50 points! if not you loose 150 points! <br>
The controls are:
<div class="arrows">
Jump: arrow up <br>
Go fordward : arrow rigth <br>
Brake: arrow down <br>
Go backwards: arrow left <br>
PAUSE: space bar <br>
</div>
Check out your best version here !:
<a href="https://www.youtube.com/watch?v=EqYgAX6D43Q">VIDEO</a>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn buttons btn-outline-light" data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="game-title">
<h1>OFFROAD IRONBIKE MTB</h1>
<a href="https://github.com/GermanDG6"><h6>BY GERMAN DG</h6></a>
</div>
<div class="section-down">
<div class="background">
<div class="all-buttons">
<div class="game-settings">
<button type="button" id="start-button" class="btn buttons btn-outline-light">START GAME</button>
<button type="button" id="reload-button" class="btn buttons btn-outline-light">RESTART</button>
<button type="button" class="btn buttons btn-outline-light" data-bs-toggle="modal" data-bs-target="#staticBackdrop">INSTRUCTIONS</button>
</div>
<div id="time-out">
<span id="countdown"></span>
</div>
<div class="audio-settings" >
<h5>AUDIO CONTROLS</h5>
<div class="btn-group buttons " role="group" aria-label="Basic checkbox toggle button group">
<input type="checkbox" class="btn-check" id="btncheck1" autocomplete="off">
<label class="btn btn-outline-light" for="btncheck1">MUSIC</label>
<input type="checkbox" class="btn-check" id="btncheck2" autocomplete="off">
<label class="btn btn-outline-light" for="btncheck2">AMBIENT</label>
<input type="checkbox" class="btn-check" id="btncheck3" autocomplete="off">
<label class="btn btn-outline-light" for="btncheck3">COMMENTS</label>
</div>
<div class="btn-group buttons me-2" role="group" aria-label="Second group">
<button type="button" id="vol-low" class="btn btn-outline-light">LOW</button>
<button type="button" id="vol-mid" class="btn btn-outline-light">MID</button>
<button type="button" id="vol-high" class="btn btn-outline-light">HIGH</button>
</div>
</div>
</div>
<div class="game">
<canvas id="canvas" width="1200" height="500"></canvas>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT" crossorigin="anonymous"></script>
<script src="./js/classes.js"></script>
<script src="./js/dommanipulaition.js"></script>
<script src="./js/logic.js"></script>
</body>
</html>