-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
77 lines (66 loc) · 1.68 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
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<meta name="description" content="A simple game of buying and selling cargo.">
<meta name="keywords" content="game, ship, trading">
<meta name="author" content="Shane George (t3liph0n3)">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!--<link rel="stylesheet" href="css/grid.css">-->
<title>Trading Ship Game</title>
<link rel="stylesheet" href="css/grid.css">
</head>
<body class="grid">
<div class="title">
Trading Ship game
<br/>
</div>
<div class="location">
<h3> 🌴<div id="port">normal</div></h3>
<p id="portTax"></p>
<br/>
<h3>🏬</h3>
<table align="center">
<tr>
<!-- The 10 lines are the max commodities in index.js - "var maxCom"-->
<th id="ComL1">1</th>
<th id="ComL2">2</th>
<th id="ComL3">3</th>
<th id="ComL4">4</th>
<th id="ComL5">5</th>
<th id="ComL6">6</th>
<th id="ComL7">7</th>
<th id="ComL8">8</th>
<th id="ComL9">9</th>
<th id="ComL10">10</th>
</tr>
<tr id="ComPrices">
<td id="Comd1">1</td>
<td id="Comd2">2</td>
<td id="Comd3">3</td>
<td id="Comd4">4</td>
<td id="Comd5">5</td>
<td id="Comd6">6</td>
<td id="Comd7">7</td>
<td id="Comd8">8</td>
<td id="Comd9">9</td>
<td id="Comd10">10</td>
</tr>
</table>
</div>
<div class="navigate">
<br/>
<p>🗞 News: <i id="gamenews"> </i></p>
<button type="button" onclick="moveShip()">⚓ Sail On</button>
<br/><br/>
<div id="portList"></div>
</div>
<div class="vessel">
<h3>🚢</h3>
<h4 id=cash>$100</h4>
<br/>
<div id=hold>Hold: empty</div>
</div>
<script src="js/index.js"></script>
</body>
</html>