-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (40 loc) · 967 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
36
37
38
39
40
41
<html>
<head>
<style>
canvas {
border:solid 2px #000;
position: absolute;
top:0;
right:0;
left:0;
bottom:0;
}
div {
width: 500px;
font-size: 20px;
font-weight:bold
}
#title {
text-align: center;
}
.canvasContainer {
position: relative;
width: 1200px;
height: 600px;
}
</style>
</head>
<body>
<div class="canvasContainer">
<canvas id="main" height="600" width="1200"></canvas>
<canvas id="static" height="600" width="1200"></canvas>
</div>
<div id="title">Press "SPACE" to start!</div>
<div>
<span id="leftCounter" style="float:left">0</span>
<span id="rightCounter" style="float:right">0</span>
</div>
<script src="node_modules/socket.io-client/dist/socket.io.js"></script>
<script src="main.js"></script>
</body>
</html>