-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (45 loc) · 1.89 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Konjugator</title>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,shrink-to-fit=no">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="screen-orientation" content="landscape">
<meta name="full-screen" content="yes">
<meta http-equiv="cleartype" content="on">
<meta name="format-detection" content="telephone=no">
<link rel="manifest" href="assets/manifest.json">
<style>
html,
body {
margin: 0;
padding: 0;
image-rendering: optimizeSpeed; /* Older versions of FF */
image-rendering: -moz-crisp-edges; /* FF 6.0+ */
image-rendering: -webkit-optimize-contrast; /* Webkit (non standard naming) */
image-rendering: -o-crisp-edges; /* OS X & Windows Opera (12.02+) */
image-rendering: crisp-edges; /* Possible future browsers. */
-ms-interpolation-mode: nearest-neighbor; /* IE (non standard naming) */
image-rendering: pixelated; /* Chrome 41 */
}
</style>
</head>
<body style="background-color: black; height: 100%;">
<div id="content" style="display: block; width: 100%; height: 100%; overflow: hidden;"></div>
<script type="text/javascript" src="./dev/vendor.js"></script><script type="text/javascript" src="./dev/game.js"></script></body>
<script type="text/javascript">
if (window.parent.gameConfig) {
var gameConfig = window.parent.gameConfig
} else {
var gameConfig = {
start_text: 'Konjugiere das verb! Bist du bereit?',
asset_path: 'assets/',
input_type: null
}
}
var g = game.startGame(gameConfig)
</script>
</html>