blob: 51bcab9046d8de23172f00bbd2bbaf14b36ab9ff (
plain)
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
|
<!doctype html>
<html lang="en">
<head>
<title>rogue.js</title>
<meta charset="utf-8">
<link rel="stylesheet" href="styles/normalize.css">
<link rel="stylesheet" href="styles/simple.css">
</head>
<body>
<div class="center">
<h1>rogue.js</h1>
</div>
<canvas id="gameboard" class="center" width="512" height="416"></canvas>
<button id="newgame" type="button" title="New Game">New Game</button>
<button id="leave" type="button" title="Leave Game">Leave Game</button>
<button id="wsButton" type="button" title="Open WebSocket connection">
Open WebSocket connection
</button>
<button id="wsSendButton" type="button" title="Send WebSocket message">
Send WebSocket message
</button>
<pre id="messages" style="height: 400px; overflow: scroll"></pre>
<footer><p>© Matt Kohls, 2019</footer>
<script src="js/rogue.js"></script>
</body>
</html>
|