View difference between Paste ID: uXwgbRwc and K1W7zBjK
SHOW: | | - or go back to the newest paste.
1
<html>
2
<head>
3
    <script src="/socket.io/socket.io.js"></script>
4-
    <script src="/player.js"></script>
4+
    <script src="/scripts/player.js"></script>
5-
    <script src="/game.js"></script>
5+
    <script src="/scripts/game.js"></script>
6
</head>
7
<body>
8
    <p>Successful login, here will be game</p>
9
	Initialized? : <span id="initRight">no_name</span>
10
   <script>
11
	localPlayer = new Player('bbbb', null, null);
12
	document.getElementById('initRight').innerHTML = localPlayer.nick;
13
	init();
14
   </script>
15
   <canvas id="gameCanvas"></canvas>
16
</body>
17
</html>