-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
86 lines (84 loc) · 3.05 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta http-equiv="X-UA-Compatible" content="ie-edge" />
<link href="https://fonts.googleapis.com/css2?family=Black+Ops+One&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css" />
<title>Battleship-1P</title>
</head>
<body>
<header class="game-header">
<h1>Battleship</h1>
<h3>Find & Destroy The Enemy Ships</h3>
</header>
<main class="game-content">
<div class="board-container">
<div class="board">
<div class="cell" id="00">01</div>
<div class="cell" id="01">01</div>
<div class="cell" id="02">02</div>
<div class="cell" id="03"></div>
<div class="cell" id="04"></div>
<div class="cell" id="05"></div>
<div class="cell" id="06"></div>
<div class="cell" id="10"></div>
<div class="cell" id="11"></div>
<div class="cell" id="12"></div>
<div class="cell" id="13"></div>
<div class="cell" id="14"></div>
<div class="cell" id="15"></div>
<div class="cell" id="16"></div>
<div class="cell" id="20"></div>
<div class="cell" id="21"></div>
<div class="cell" id="22"></div>
<div class="cell" id="23"></div>
<div class="cell" id="24"></div>
<div class="cell" id="25"></div>
<div class="cell" id="26"></div>
<div class="cell" id="30"></div>
<div class="cell" id="31"></div>
<div class="cell" id="32"></div>
<div class="cell" id="33"></div>
<div class="cell" id="34"></div>
<div class="cell" id="35"></div>
<div class="cell" id="36"></div>
<div class="cell" id="40"></div>
<div class="cell" id="41"></div>
<div class="cell" id="42"></div>
<div class="cell" id="43"></div>
<div class="cell" id="44"></div>
<div class="cell" id="45"></div>
<div class="cell" id="46"></div>
<div class="cell" id="50"></div>
<div class="cell" id="51"></div>
<div class="cell" id="52"></div>
<div class="cell" id="53"></div>
<div class="cell" id="54"></div>
<div class="cell" id="55"></div>
<div class="cell" id="56"></div>
<div class="cell" id="60"></div>
<div class="cell" id="61"></div>
<div class="cell" id="62"></div>
<div class="cell" id="63"></div>
<div class="cell" id="64"></div>
<div class="cell" id="65"></div>
<div class="cell" id="66"></div>
</div>
</div>
</div>
<div class="non-board-container">
<p class="message">Hello</p>
<div class="game-stats-container">
<p class="ships-label">Ships Left: <span class="ships"></span></p>
<p class="shots-label">Score: <span class="shots"></span></p>
<p class="highscore-label">Highscore: <span class="highscore"></span></p>
<p class="accuracy-label">Accuracy: <span class="accuracy"></span></p>
</div>
<button class="btn btn-new-game">New Game</button>
</div>
</main>
<script src="index.js"></script>
</body>
</html>