-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.html
More file actions
91 lines (84 loc) · 3.25 KB
/
game.html
File metadata and controls
91 lines (84 loc) · 3.25 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
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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8" />
<title>Castle Siege</title>
<meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1.0, minimal-ui, user-scalable=no' />
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="stylesheet" href="js/scroller/jquery.mCustomScrollbar.min.css" />
<link rel="stylesheet" href="style.css"/>
<link rel="stylesheet" type="text/css" href="print.css" media="print" />
<link href="https://fonts.googleapis.com/css?family=Raleway&subset=latin-ext" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.5.10/webfont.js"></script>
<script>
window.addEventListener("load", function() {
function onTouchPreventDefault(event) { event.preventDefault(); };
document.addEventListener("touchmove", onTouchPreventDefault, false);
document.addEventListener("touchstart", onTouchPreventDefault, false);
}, false);
window.addEventListener('scroll', function ()
{
document.body.scrollTop = 0;
}, true);
window.addEventListener('resize', function ()
{
document.body.scrollTop = 0;
}, true);
</script>
<style type="text/css">
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/aes.js"></script>
<script src="js/scroller/jquery.mCustomScrollbar.concat.min.js"></script>
<!--phaser scripts and stages-->
<script src="js/phaser.js"></script>
<script src="js/commons.js"></script>
<script src="js/boot.js"></script>
<script src="js/preload.js"></script>
<script src="js/menu.js"></script>
<script src="js/rules.js"></script>
<script src="js/settings.js"></script>
<script src="js/questions.js"></script>
<script src="js/climbers.js"></script>
<script src="js/game.js"></script>
<script src="js/play.js"></script>
<!--<script src="js/winner.js"></script>-->
<script src="index.js"></script>
</head>
<body>
<div id="game" style="height:100%">
<div id="questions-form" style="display:none">
<div id="questions-scrollbar-holder">
<div id="questions">
</div>
<button id="button-plus" onclick="addQuestion('', true)"></button>
</div>
<button id="button-download" onclick="downloadQuestions()"></button>
<button id="button-print" onclick="window.print()"></button>
<button id="button-submit" onclick="hideQuestions()"></button>
</div>
<div id="climbers-form" style="display:none">
<div id="climbers-scrollbar-holder">
<div class="flex">
<div id="climbers-legend">
<p>Name</p>
<p>Select your knight:</p>
</div>
<div id="climbers"></div>
</div>
</div>
<button id="button-climbers-submit" onclick="hideClimbers()"></button>
</div>
<div id="dialog" style="display:none">
<div id="dialog-bg">
<div id="dialog-text">
</div>
<button id="button-dialog-ok" onclick="hideDialog()"></button>
</div>
</div>
</div>
</body>
</html>