forked from github/game-off-2012
/
index.html
36 lines (30 loc) · 1.03 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
<html lang="en">
<head>
<title>LightCycle Online</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style type="text/css">
body {
font-family: Monospace,sans-serif;
background-color: #f0f0f0;
margin: 0;
overflow: hidden;
}
canvas {
position: absolute;
left: 0; right: 0; top: 0; bottom: 0;
margin: auto;
}
</style>
<!-- socket.io client side contents -->
<script src="http://localhost:8080/socket.io/socket.io.js"></script>
<!-- client side game core -->
<script type="text/javascript" src="_shared/game.player.js"></script>
<script type="text/javascript" src="_shared/game.core.js"></script>
<script type="text/javascript" src="_client/game.core.client.js"></script>
<script type="text/javascript" src="_client/client.js"></script>
</head>
<body>
<canvas id="viewport"></canvas>
</body>
</html>