-
Notifications
You must be signed in to change notification settings - Fork 6
/
game.html
61 lines (59 loc) · 2.28 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
<!DOCTYPE html>
<html style='background: #0080ff' class='fullscreen'>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>Shape Clear</title>
<link rel="stylesheet" type="text/css" href="css/fullscreen.css">
<link rel="stylesheet" type="text/css" href="css/alertbox.css">
<link rel="icon" href="assets/background-castle.png">
<link rel="apple-touch-icon" href="assets/background-castle.png">
<script src='js/swLoader.js'></script>
</head>
<body>
<div id='loading' class='center-of-screen' style='flex-direction:column;'>
<div id='loadingInfo'><noscript>
The game cannot run without JavaScript.
</noscript></div>
<progress id='loadProgress' value="0" max="1"></progress>
</div>
<script src='js/GameLoader.js'></script>
<!-- alert box -->
<div class="center-of-screen grayed-out" id='prompt' style='visibility: hidden; align-items: baseline;'>
<!--[if IE]>
<form class='prompt-box prompt-box-ie' action="javascript:void 3">
<![endif]-->
<!--[if !IE]> -->
<form class='prompt-box' action="javascript:void 3">
<!-- <![endif]-->
<div class='description' id='promptMessage'></div>
<div class='input'><input id='promptInput'></div>
<div class='yesno'>
<button type="submit" onclick="event.preventDefault();promptCallback(true);" id='promptOK'>OK</button>
<button onclick="event.preventDefault();promptCallback(false);" id='promptCancel'>Cancel</button>
</div>
</form>
</div>
<!--[if IE]>
<div id='alert' class='alert-box alert-box-ie'>
<![endif]-->
<!--[if !IE]> -->
<div id='alert' class='alert-box' style='visibility: hidden;'>
<!-- <![endif]-->
<div class='title'>
<span>Error</span>
<input id='close' class='x' value='X' type='button'>
</div>
<!--[if IE]>
<pre class='description' id='description'>本程式不支援 IE。請改用 Firefox 或 Chrome
This program does not support IE. Please use Firefox or Chrome.</pre>
<![endif]-->
<!--[if !IE]> -->
<pre class='description' id='description'>錯誤訊息會顯示在這裡</pre>
<!-- <![endif]-->
</div>
<!-- end of alert box -->
<script src='js/alertbox.js'></script>
<div id='gameDiv' class='game-div'></div>
</body>
</html>