-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
49 lines (45 loc) · 1.53 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Battleship</title>
</head>
<body>
<!-- Start screen -->
<div id="startScreen">
<img class="title" src="/images/game_title.png" alt="Title" />
<div class="nickname-play-container">
<div class="nickname-container">
<label for="nickname">Enter Name</label>
<input type="text" id="nickname" name="nickname" />
</div>
<img class="play-button" src="/images/btn_play.png" alt="Play button" />
</div>
</div>
<!-- Game screen -->
<div id="gameScreen">
<div class="player-container">
<div class="player-name"></div>
<div class="Player"></div>
</div>
<div class="opponent-container">
<div class="opponent-name">Computer</div>
<div class="Opponent"></div>
</div>
<div class="footer">
<div class="player-footer">
<div class="player-buttons-container">
<img class="randomise-button" src="/images/btn_shuffle.png" />
<img class="start-button" src="/images/btn_startwar.png" />
</div>
<div class="drag-drop-message">Drag or click on ships</div>
</div>
<div class="opponent-footer"></div>
<div class="message-footer"></div>
</div>
</div>
<script type="module" src="/src/ts/main.ts" defer></script>
</body>
</html>