-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
31 lines (31 loc) · 970 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
<html>
<head>
<title>A Multiplayer Game</title>
<style>
canvas {
width: 100%;
height: auto;
border: 5px solid black;
background: black;
touch-action: none;
}
.noselect {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome and Opera */
}
</style>
<script src="/socket.io/socket.io.js"></script>
</head>
<body>
<canvas class="noselect" id="canvas"></canvas>
</body>
<script src="/static/vector.js"></script>
<script src="/static/inputHandler.js"></script>
<script src="/static/animation.js"></script>
<script src="/static/game.js"></script>
</html>