-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (50 loc) · 1.42 KB
/
index.html
File metadata and controls
51 lines (50 loc) · 1.42 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<link type="text/css" rel="stylesheet" href="css/index.css">
<title>Hex wargame index</title>
</head>
<body>
<div id="view">
<h1>Hex wargame</h1>
<div>
<h2>Official scenario</h2>
<ul>
<li><a href="game.html?varp=scenario/Assaye.js">ASSAYE 1803</a></li>
<li><a href="game.html?varp=scenario/BullRun1.js">The battle of first Bull Run</a></li>
</ul>
</div>
<div>
<h2>Load local scenario</h2>
<p>choose a local scenario file(*.json) to load it.</p>
<p>You can get one from <a href="scenario/output.js">this</a></p>
<a href="game.html?local=true">Choose</a>
</div>
<div>
<h2>Load Internet scenario</h2>
<input type="text" id="inputJSONURL">
<button id="btnJSON">Load</button>
</div>
<hr/>
<div>
<h2>Scenario Editor</h2>
<p>Create your own hex wargame!</p>
<p>You can edit hex type, unit location, combat, name, etc...</p>
<a href="editor.html">enter</a>
</div>
<hr/>
<div>
<h2>Tutorial</h2>
<p>TODO...</p>
</div>
<hr/>
<div>
<h2>Developer</h2>
<p>yiyuezhuo</p>
<a href="https://github.com/yiyuezhuo/Hex-Wargame-JavaScript">GitHub</a>
</div>
</div>
</body>
<script src="js/index.js"></script>
</html>