diff options
Diffstat (limited to 'public/index.html')
-rw-r--r-- | public/index.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..51bcab9 --- /dev/null +++ b/public/index.html @@ -0,0 +1,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> + |