diff options
| author | Matt Kohls <mattkohls13@gmail.com> | 2019-11-01 23:21:08 -0400 | 
|---|---|---|
| committer | Matt Kohls <mattkohls13@gmail.com> | 2019-11-01 23:21:08 -0400 | 
| commit | 0a77eb29e9f64ecb3aa010dde965fbfcbfdd749a (patch) | |
| tree | 39c81673289d697dc234bc6eee52e80e47e632f4 /public/index.html | |
| parent | c6f4969b766c10674911d6fed034cc792333dc23 (diff) | |
| download | rogue.js-0a77eb29e9f64ecb3aa010dde965fbfcbfdd749a.tar.gz rogue.js-0a77eb29e9f64ecb3aa010dde965fbfcbfdd749a.tar.bz2 rogue.js-0a77eb29e9f64ecb3aa010dde965fbfcbfdd749a.zip | |
Starting bits for web client
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> + | 
