-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
89 lines (78 loc) · 2.92 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
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="./reset.css">
<link rel="stylesheet" href="./main.css">
<title>konquest</title>
</head>
<body>
<div id="gameover">
<h2>END OF THE GAME</h2>
<h2 id="winner"></h2>
<p>Based on the original KDE game Konquest</p>
<p>Created By Giuseppe Locanto - peplocanto@gmail.com</p>
</div>
</div>
<div id="start-page">
<img src="./images/logo.png" alt="konquest logo" id="logo">
<select id="player" required autofocus>
<option value="1player">1 Player</option>
<option value="2player" selected="selected">2 Players</option>
<option value="3player">3 Players</option>
<option value="4player">4 Players</option>
</select>
<input type="number" name="planets" id="planets" placeholder="Planets (max 20)" value="10" required>
<button id="start">START</button>
<a href="https://github.com/peploc/konquest/blob/master/README.md" target="_blank">Instructions</a>
</div>
<div id="container">
<canvas id="board"></canvas>
<aside id="aside">
<div id="turn"></div>
<div class="asidebox" id="planetbox">
<div class="planetbox" id="frombox">
<div id="from">From: </div>
<div id="fromowner">Owner: </div>
<div id="fromdimension">Dimensions: </div>
<div id="fromprog">Progress: </div>
<div id="fromdistr">Distruction: </div>
</div>
<div class="planetbox" id="tobox">
<div id="to">To: </div>
<div id="toowner">Owner: </div>
<div id="todimension">Dimensions: </div>
<div id="toprog">Progress: </div>
<div id="todistr">Distruction: </div>
</div>
<div class="planetbox" id="distance"></div>
</div>
<div class="asidebox" id="attackbox">
<div id="shipsnumber">0</div>
<input type="number" name="ships" id="ships" placeholder="Ships">
<button id="send">Send</button>
</div>
<button id="nextturn">NEXT TURN</button>
<div id="displayplayer">
<div class="pbox" id="p1">1</div>
<div class="pbox" id="p2">2</div>
<div class="pbox" id="p3">3</div>
<div class="pbox" id="p4">4</div>
</div>
</aside>
<script src="./js/setup.js"></script>
<script src="./js/app.js"></script>
<script src="./js/game.js"></script>
<script src="./js/utils.js"></script>
<script src="./js/ship.js"></script>
<script src="./js/planet.js"></script>
<script src="./js/player.js"></script>
<script src="./js/click.js"></script>
<script src="./js/turn.js"></script>
<script src="./js/victory.js"></script>
<script src="./js/drawboard.js"></script>
<script src="./js/draweverything.js"></script>
</body>
</html>