MultiplayerMinesweeper/www/index.html
2022-06-22 16:01:58 -04:00

41 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title></title>
<script src="http://localhost:35729/livereload.js" charset="utf-8"></script>
<script type="text/javascript" src="socket.io.min.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Canvas used to generate individual sprites off one sprite atlas -->
<h4 id="status">Connection Status</h4>
<canvas class="hidden" id="spriteJank" width=24 height=24></canvas>
<span class="left" id="left"><p>left</p></span>
<div id="wrapwrap">
<div class="wrapper" id="wrapper">
<span class="canvasStack">
<canvas oncontextmenu="return false;" class="canvas1" id="canvas" width=0 height=0></canvas>
</span>
</div>
</div>
<div id="game">
<span id="leftBar">
</span>
<span id="rightBar">
<div id="canvas">
</div>
</span>
</div>
<div class="menu" id="menu" style="display: none;">
<input type="text" id="room" value="room">
<input type="text" id="name" value="bob">
<input type="submit" id="submit" value="join">
</div>
</body>
<script src='scripts/script.js' type="module"></script>
</html>