-
Notifications
You must be signed in to change notification settings - Fork 2
/
game.html
97 lines (94 loc) · 2.64 KB
/
game.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
96
97
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<title>Super BMX Bash</title>
<script type="module" src="assets/js/main.js"></script>
<link rel="stylesheet" href="assets/css/style.css" />
<link
href="https://fonts.googleapis.com/css?family=Press+Start+2P"
rel="stylesheet"
/>
<link href="https://unpkg.com/nes.css/css/nes.css" rel="stylesheet" />
</head>
<body>
<nav class="nav-container">
<div class="logo">
<a href="index.html">
<h1 class="">決定者</h1>
<p>Deciders.</p>
</a>
</div>
<div class="links container">
<a href="game.html" class="nes-btn">Play</a>
<!--<a href="hs.html" class="nes-btn">High Scores</a>-->
<a href="about.html" class="nes-btn">About</a>
</div>
</nav>
<section id="game-container">
<div id="game-box">
<canvas id="canvas" width="500" height="500"></canvas>
</div>
</section>
<footer class="nes-container">
<h4>
Developed for the
<a href="" class="is-warning">Code Institute</a> August Hackathon by:
</h4>
<section class="devs">
<div class="dev">
<a
href="https://github.com/roomacarthur"
target="_blank"
rel="noopener noreferrer"
>
<img
class="dev-icon circle"
src="assets/img/team/roo.jfif"
alt="roomacarthur"
/>
<h4 class="dev-name">R00</h4>
</a>
</div>
<div class="dev">
<a
href="https://github.com/seanyoung247"
target="_blank"
rel="noopener noreferrer"
>
<img
class="dev-icon"
src="assets/img/team/sean.png"
alt="seanyoung247"
/>
<h4 class="dev-name">S34n</h4>
</a>
</div>
<div class="dev">
<a
href="https://github.com/hartnetl"
target="_blank"
rel="noopener noreferrer"
>
<img
class="dev-icon"
src="assets/img/team/laura.jfif"
alt="hartnetl"
/>
<h4 class="dev-name">L4ur4</h4>
</a>
</div>
</section>
</footer>
<!-- <script src="timer.js"></script> -->
<script>
window.top.document.onkeydown = function (evt) {
evt = evt || window.event;
let keyCode = evt.key;
if (keyCode == "ArrowUp" || keyCode == "ArrowDown" || keyCode == " ") {
return false;
}
};
</script>
</body>
</html>