-
Notifications
You must be signed in to change notification settings - Fork 0
/
single-player.html
39 lines (34 loc) · 1.83 KB
/
single-player.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
<!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</title>
<link rel="stylesheet" href="./style.css" >
</head>
<body>
<div class="container">
<div class="battleship-grid grid-user"></div>
<div class="battleship-grid grid-computer"></div>
</div>
<div class="container hidden-info">
<div id="setup-buttons" class="setup-buttons">
<button id="start" class="btn">Start Game</button>
<button id="rotate" class="btn">Rotate Your Ships</button>
</div>
<h3 id="whose-go" class="info-text hidden">Your Go</h3>
<h3 id="info" class="info-text"></h3>
</div>
<div class="container">
<div class="grid-display">
<div class="ship destroyer-container" draggable="true"><div id="destroyer-0"></div><div id="destroyer-1"></div></div>
<div class="ship submarine-container" draggable="true"><div id="submarine-0"></div><div id="submarine-1"></div><div id="submarine-2"></div></div>
<div class="ship cruiser-container" draggable="true"><div id="cruiser-0"></div><div id="cruiser-1"></div><div id="cruiser-2"></div></div>
<div class="ship battleship-container" draggable="true"><div id="battleship-0"></div><div id="battleship-1"></div><div id="battleship-2"></div><div id="battleship-3"></div></div>
<div class="ship carrier-container" draggable="true"><div id="carrier-0"></div><div id="carrier-1"></div><div id="carrier-2"></div><div id="carrier-3"></div><div id="carrier-4"></div></div>
</div>
</div>
<script src="./script.js"></script>
</body>
</html>