-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathgame.html
70 lines (69 loc) · 2.12 KB
/
game.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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/unit.css">
<link rel="stylesheet" type="text/css" href="css/hex.css">
</head>
<body>
<div id="gameView">
<div id="map"></div>
<div id="toolbox">
<h1>
Hex based Wargame
</h1>
<h2>
by yiyuezhuo
</h2>
<a href="https://github.com/yiyuezhuo/Hex-Wargame-JavaScript" target="_Blank">
Source
</a>
<div id="description">
<p>scenario:</p>
<div id="description_name"></div><br>
<div id="description_author"></div><br>
</div>
<p id='turn_state'>turn_state</p>
<button id='next_phase_a'>next phase</button>
<button id='AI_run_a'>AI run</button>
<div id='combat_box'>
<button id='do_it_a'>do it!</button>
<button id='reset_a'>reset combat</button>
<button id='chase_a'>stop chase</button>
<div id='battle_odds'>
<div id='battle_odds_attack'></div>
<hr>
<div id='battle_odds_defence'></div>
</div>
</div>
</div>
<div id="news_box">
<p>News box</p>
<div id="news_text"></div><br>
<button id="news_exit_a">exit</button>
</div>
</div>
<div id="localLoderView">
<h1>Please choose a local scenario file(*.json) to load</h1>
<input type="file">
<button class='load'>load</button>
</div>
<div id="loadingView">
<p>loading...</p>
</div>
<script src="js/jquery/jquery.js"></script>
<!-- <script src="js/dataLoader.js"></script> -->
<!-- <script src="js/preload.js"></script> -->
<script src="js/designPattern.js"></script>
<!-- <script src="scenario/output.js"></script> -->
<script src="js/domplot.js"></script>
<script src="js/random.js"></script>
<script src="js/scenarioEvent.js"></script>
<script src="js/AI.js"></script>
<script src="js/mapModel.js"></script>
<script src="js/game.js"></script>
<script src="js/dataLoader.js"></script>
<script src="js/combat.js"></script>
</body>
</html>