local socketio

This commit is contained in:
Evert Prants 2017-04-12 20:49:28 +03:00
parent 08f385db44
commit fde87b0b80
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

View File

@ -4,8 +4,8 @@
<meta charset="utf-8">
<meta name="about" content="A Diamond* WebGame game">
<script src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/2.3.0/mustache.min.js"></script>
<script src="/socket.io/socket.io.js"></script>
<script type="text/javascript" src="./index.js"></script>=
<script src="./socket.io/socket.io.js"></script>
<script type="text/javascript" src="./index.js"></script>
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="./index.css">
@ -29,7 +29,7 @@
<div class="box">
<h1>Statistics</h1>
<span class="stat">Players online: <span id="stats_players_online"></span></span>
<span class="stat">Players in game: <span id="stats_players"></span></span>
<span class="stat">Games in progress: <span id="stats_players"></span></span>
<span class="stat">Total games since server started: <span id="stats_games"></span></span>
<span class="stat">You've played in <span id="stats_clientgames"></span> matches this session.</span>
</div>