forked from mongolchic/Battleship
-
Notifications
You must be signed in to change notification settings - Fork 1
/
bs.html
108 lines (104 loc) · 4.27 KB
/
bs.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link href="bs.css" type="text/css" rel="stylesheet"/>
<link href='https://fonts.googleapis.com/css?family=Orbitron' rel='stylesheet' type='text/css'>
<script src="https://code.jquery.com/jquery-2.2.3.min.js" integrity="sha256-a23g1Nt4dtEYOj7bR+vTu7+T8VP13humZFBJNIYoEJo=" crossorigin="anonymous"></script>
<script src="bs.js" type="text/javascript"></script>
<title>Epic Battleship</title>
</head>
<body>
<h1>Epic Battleship</h1>
<div class="container">
<div>
<table id="viewBoard">
</table>
</div>
<div>
<table class="shipStatus">
<thead>
<td class="statusHead">Ship</td>
<td class="statusHead" colspan="5">Life</td>
</thead>
<tbody>
<tr>
<td class="col1">Aircraft Carrier</td>
<td class="tinyLifeStatusCell full five0"></td>
<td class="tinyLifeStatusCell full five1"></td>
<td class="tinyLifeStatusCell full five2"></td>
<td class="tinyLifeStatusCell full five3"></td>
<td class="tinyLifeStatusCell full five4"></td>
</tr>
<tr>
<td class="col1">Frigate</td>
<td class="tinyLifeStatusCell full four10"></td>
<td class="tinyLifeStatusCell full four11"></td>
<td class="tinyLifeStatusCell full four12"></td>
<td class="tinyLifeStatusCell full four13"></td>
<td class="tinyLifeStatusCell"></td>
</tr>
<tr>
<td class="col1">Corvette</td>
<td class="tinyLifeStatusCell full four20"></td>
<td class="tinyLifeStatusCell full four21"></td>
<td class="tinyLifeStatusCell full four22"></td>
<td class="tinyLifeStatusCell full four23"></td>
<td class="tinyLifeStatusCell"></td>
</tr>
<tr>
<td class="col1">Destroyer</td>
<td class="tinyLifeStatusCell full three10"></td>
<td class="tinyLifeStatusCell full three11"></td>
<td class="tinyLifeStatusCell full three12"></td>
<td class="tinyLifeStatusCell"></td>
<td class="tinyLifeStatusCell"></td>
</tr>
<tr>
<td class="col1">Marvin</td>
<td class="tinyLifeStatusCell full three20"></td>
<td class="tinyLifeStatusCell full three21"></td>
<td class="tinyLifeStatusCell full three22"></td>
<td class="tinyLifeStatusCell"></td>
<td class="tinyLifeStatusCell"></td>
</tr>
<tr>
<td class="col1">Raptor</td>
<td class="tinyLifeStatusCell full two10"></td>
<td class="tinyLifeStatusCell full two11"></td>
<td class="tinyLifeStatusCell"></td>
<td class="tinyLifeStatusCell"></td>
<td class="tinyLifeStatusCell"></td>
</tr>
<tr>
<td class="col1">Tugboat</td>
<td class="tinyLifeStatusCell full two20"></td>
<td class="tinyLifeStatusCell full two21"></td>
<td class="tinyLifeStatusCell"></td>
<td class="tinyLifeStatusCell"></td>
<td class="tinyLifeStatusCell"></td>
</tr>
<tr>
<td class="col1">Submarine</td>
<td class="tinyLifeStatusCell full one0"></td>
<td class="tinyLifeStatusCell"></td>
<td class="tinyLifeStatusCell"></td>
<td class="tinyLifeStatusCell"></td>
<td class="tinyLifeStatusCell"></td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- <input type="button" value="Show Ships" id="show"/> -->
<p id="display"></p>
<p id="display2"></p>
<!-- <div class="shipBoard">
<p>Five Block Ships = <span class="fiveBlockLeft">1</span></p>
<p>Four Block Ships = <span class="fourBlockLeft">2</span></p>
<p>Three Block Ships = <span class="threeBlockLeft">2</span></p>
<p>Two Block Ships = <span class="twoBlockLeft">2</span></p>
<p>Submarines = <span class="oneBlockLeft">1</span></p>
</div> -->
</body>
</html>