/
index.html
28 lines (22 loc) · 1002 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
<!DOCTYPE html>
<html>
<head>
<title> Collective Behavior</title>
<!-- Load style sheet -->
<link href="index.css" media="screen" rel="stylesheet" type="text/css">
<!-- Notice the URL, this is handled by socket.io on the server automatically, via express -->
<script type="text/javascript" src="/socket.io/socket.io.js"></script>
<!-- Load jQuery, which lets us handle mouse events -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<!-- Script that lets us do nice string formatting -->
<script type="text/javascript" src="lib/sprintf.min.js"></script>
<!-- Load the common game code. -->
<script type="text/javascript" src="game.core.js"></script>
<!-- Finally, Load the game client code. -->
<script type="text/javascript" src="game.client.js"></script>
<script type="text/javascript" src="drawing.js"></script>
</head>
<body>
<canvas id="viewport"> </canvas>
</body>
</html>