-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (31 loc) · 975 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Monodromy</title>
<style>
.mid{
width: 680px ;
margin: 0 auto
}
</style>
<script src="Game/js_build/main.js"></script>
</head>
<div class="mid">
<div id="elm"></div>
<script>
window.addEventListener("keydown", function(e) {
if([32, 37, 38, 39, 40].indexOf(e.keyCode) > -1) {
e.preventDefault();
}
}, false);
var app = Elm.Main.init({
node: document.getElementById('elm')
});
</script>
</div>
<div id="readme" style="text-align: center">
<a href="https://github.com/iamcxds/Monodromy" target="_blank">Click here to view the source code</a>
</div>
</div>
</html>