-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
124 lines (117 loc) · 4.68 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html lang="en">
<head>
<title>Death Star Raid</title>
<link rel="stylesheet" href="styles.css">
<link rel="icon" href="assets/TieFighter/0003 - Neutro.png" type="image/x-icon" />
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Coetus">
<meta name="keywords"
content="JavaScript, Games, CSS, HTML, Canvas, Canvas API, Death Star Raid, River Raid, River Raid Game, Start Wars, Game Development">
<meta name="description" content="☄️💀 Death Star Raid is a re-implementation of the River Raid game using the Canvas API. Made by Coetus™" />
<meta property="og:title" content="Death Star Raid">
<meta property="og:type" content="website" />
<meta property="og:image" content="https://coetus-jd.github.io/death-star-raid/assets/UX/TelaInicial/TelaInicial.png">
<meta property="og:url" content="https://coetus-jd.github.io/death-star-raid">
<meta property="og:description" content="☄️💀 Death Star Raid is a re-implementation of the River Raid game using the Canvas API. Made by Coetus™">
<meta property="og:site_name" content="Coetus">
</head>
<body>
<section id="content-start-game">
<div id="middle">
<button class="btn-github" id="git-hub"></button>
<button id="start-game" value="NoStart"><img src="assets/UX/TelaInicial/PressSpace.png" /></button>
<button id="high-score" value="NoClick"></button>
</div>
<div id="bottom">
<div id="animStart"><img src="assets/UX/Command/FireMenu.png"/></div>
</div>
</section>
<section id="content-game-credit">
<div id="new-score">
<h3>NEW SCORE</h3>
</div>
<div id="credits-top">
<h3>NAME</h3>
</div>
<input type="text" id="credits-name" size="2" maxlength="3" value="" autocomplete="off" required/>
<input type="submit" id="send" value=""/>
<ul id="middle-bot">
<li id = "credits">Credits</li>
<li class="name">Alberto Luigi Venciguerra</li>
<li class="name">Bruno Ganade Alves</li>
<li class="name">Fabrício Pinto Ferreira</li>
<li class="name">Leonardo Rezende Nakashima</li>
</ul>
<div id="credits-bot">
COETUS 2022
</div>
</section>
<section id="content-game">
<div id="top-screen">
<button id="pause"> </button>
<div id="current-score"></div>
</div>
<button id="debugmode"><h3>Debug Mode</h3></button>
<div id="life"></div>
<div class="btn-instruction">
<button id="btn-left"></button>
<button id="btn-space"></button>
<button id="btn-right"></button>
</div>
</section>
<section id="content-score">
<div id ="score-screen">
<table id ="top-score">
<tr>
<td class="num">1st</td>
<td id="first-score">00000</td>
<td id ="first-name">...</td>
</tr>
<tr>
<td class="num">2nd</td>
<td id="second-score">00000</td>
<td id="second-name">...</td>
</tr>
<tr>
<td class="num">3rd</td>
<td id="third-score">00000</td>
<td id="third-name">...</td>
</tr>
<tr>
<td class="num">4th</td>
<td id="forth-score">00000</td>
<td id="forth-name">...</td>
</tr>
<tr>
<td class="num">5th</td>
<td id="fifth-score">00000</td>
<td id="fifth-name">...</td>
</tr>
</table>
</div>
<button id="reset">RESET</button>
<div id="bottom-score">
<button class="btn-github" id="git-hub-score"></button>
<button id="return" value="NoClick"></button>
</div>
</section>
<script type="module" src="index.js"></script>
<script>
if (navigator.serviceWorker) {
navigator.serviceWorker
.register("./service-worker.js", {
scope: './'
})
.then(function () {
console.log("Service Worker Registered");
})
.catch(function (err) {
console.log("Service Worker Failed to Register", err);
});
}
</script>
</body>
</html>