-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
239 lines (232 loc) · 8.82 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
<!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>BATTLESHIPS - GAME</title>
<link rel="stylesheet" href="./res/css/style.css">
<link rel="shortcut icon" href="./res/img/lod.png" type="image/x-icon">
<script src="https://kit.fontawesome.com/e25729b0c0.js" crossorigin="anonymous"></script>
</head>
<body>
<h1 id="headline"><abbr style="text-decoration: none; cursor: pointer;" title="from top to bottom"> BATTLESHIPS </abbr></h1>
<audio id="audio" src=""></audio>
<audio id="audioWin" src="./res/audio/win.mp3"></audio>
<audio id="audioLoss" src="./res/audio/loss.mp3"></audio>
<div id="gameArea">
<div id="play"><abbr style="text-decoration: none;" title="from top to bottom"> play </abbr></div>
<div id="scoreText">score: <span id="score">0</span> pts</div>
<div id="timerText">timer: <span id="timer">15</span> s</div>
<div id="vesselsText">spaceships: <span id="countOfVessels">15</span></div>
<div id="grid">
<table>
<tr>
<th class="number"></th>
<th class="number">0</th>
<th class="number">1</th>
<th class="number">2</th>
<th class="number">3</th>
<th class="number">4</th>
<th class="number">5</th>
<th class="number">6</th>
</tr>
<tr>
<th class="letter">A</th>
<div id="start">start here >></div>
<td id="00">
<div id="lod0"></div>
</td>
<td id="01">
<div id="lod1"></div>
</td>
<td id="wrong1">
<div id="02"></div>
</td>
<td id="03">
<div id="lod3"></div>
</td>
<td id="wrong2">
<div id="02"></div>
</td>
<td id="wrong3">
<div id="05"></div>
</td>
<td id="06">
<div id="lod6"></div>
</td>
</tr>
<tr>
<th class="letter">B</th>
<td id="wrong4">
<div id="10"></div>
</td>
<td id="wrong5">
<div id="11"></div>
</td>
<td id="wrong6">
<div id="12"></div>
</td>
<td id="13">
<div id="lod13"></div>
</td>
<td id="wrong7">
<div id="14"></div>
</td>
<td id="wrong8">
<div id="15"></div>
</td>
<td id="wrong9">
<div id="16"></div>
</td>
<tr>
<th class="letter">C</th>
<td id="20">
<div id="lod20"></div>
</td>
<td id="wrong10">
<div id="21"></div>
</td>
<td id="wrong11">
<div id="22"></div>
</td>
<td id="wrong12">
<div id="23"></div>
</td>
<td id="24">
<div id="lod24"></div>
</td>
<td id="25">
<div id="lod25"></div>
</td>
<td id="wrong13">
<div id="26"></div>
</td>
</tr>
</tr>
<tr>
<th class="letter">D</th>
<td id="30">
<div id="lod30"></div>
</td>
<td id="wrong14">
<div id="31"></div>
</td>
<td id="wrong15">
<div id="32"></div>
</td>
<td id="wrong16">
<div id="33"></div>
</td>
<td id="wrong17">
<div id="34"></div>
</td>
<td id="wrong18">
<div id="35"></div>
</td>
<td id="36">
<div id="lod36"></div>
</td>
</tr>
<tr>
<th class="letter">E</td>
<td id="40">
<div id="lod40"></div>
</td>
<td id="wrong19">
<div id="41"></div>
</td>
<td id="wrong20">
<div id="42"></div>
</td>
<td id="43">
<div id="lod43"></div>
</td>
<td id="wrong21">
<div id="44"></div>
</td>
<td id="wrong22">
<div id="45"></div>
</td>
<td id="wrong23">
<div id="46"></div>
</td>
</tr>
<tr>
<th class="letter">F</td>
<td id="wrong24">
<div id="50"></div>
</td>
<td id="wrong25">
<div id="51"></div>
</td>
<td id="52">
<div id="lod52"></div>
</td>
<td id="wrong26">
<div id="53"></div>
</td>
<td id="wrong27">
<div id="54"></div>
</td>
<td id="wrong28">
<div id="55"></div>
</td>
<td id="wrong29">
<div id="56"></div>
</td>
</tr>
<tr>
<th class="letter">G</td>
<td id="wrong30">
<div id="60"></div>
</td>
<td id="wrong31">
<div id="61"></div>
</td>
<td id="wrong32">
<div id="62"></div>
</td>
<td id="63">
<div id="lod63"></div>
</td>
<td id="64">
<div id="lod64"></div>
</td>
<td id="wrong33">
<div id="65"></div>
</td>
<td id="wrong34">
<div id="66"></div>
</td>
</tr>
<div id="doubleclick">everything is on one click</div>
</table>
</div>
</div>
<div id="paragraph"></div>
<div id="info-box">
<img src="./res/img/lod.png" alt="photo" srcset="">
<p> the Milano spaceship is just a nice ship that can give you 5 pts</p>
</div>
<button id="videoClick">how to play</button>
<div id="video">
<video width="250" height="250" autoplay muted" src="./res/video/howto.webm"></video>
</div>
<div id="creator">
<h2 id="creatorHeadline">creator</h2>
<div id="creatorContent">
<a target="_blank" href="https://github.com/deesdav"><i class="fa-brands fa-github"></i></a>
<a target="_blank" href="https://www.youtube.com/channel/UCrY06IULFyeRqjcN5xe67Zg"><i
class="fa-brands fa-youtube"></i></a>
<a target="_blank" href="https://www.instagram.com/_svancar_/?igshid=YmMyMTA2M2Y%3D"><i
class="fa-brands fa-instagram"></i></a>
<a target="_blank" href="https://www.twitch.tv/thedawarrior"><i class="fa-brands fa-twitch"></i></a>
<a target="_blank" href="https://open.spotify.com/user/davko7778?si=4dfc580854ed477f&nd=1"><i
class="fa-brands fa-spotify"></i></a>
<a target="_blank" href="https://discord.com/invite/deesee#3492"><i class="fa-brands fa-discord"></i></a>
</div>
</div>
<script src="./res/js/main.js"></script>
</body>
</html>