Comment cleanup

This commit is contained in:
2018-03-08 12:21:39 -05:00
parent df501d9d4a
commit 10b9830291
2 changed files with 6 additions and 42 deletions

View File

@@ -13,16 +13,13 @@
<table style="width:100%"> <table style="width:100%">
<tr> <tr>
<td> <td>
<!-- <div> --> <h2>Player 1</h2>
<h2>Player 1</h2> <h3 id="player1Name"></h3>
<h3 id="player1Name"></h3> <h1 id="player1Score">0</h1>
<h1 id="player1Score">0</h1>
<!-- </div> -->
</td> </td>
<td width="1000px"> <td width="1000px">
<div> <div>
<canvas id='canvas1' class='canvas' width='1000' height='500'></canvas> <canvas id='canvas1' class='canvas' width='1000' height='500'></canvas>
<!-- <div></div> -->
<input class="button" type="button" value="Toggle Sounds" onClick="toggleSound()"> <input class="button" type="button" value="Toggle Sounds" onClick="toggleSound()">
<img id="soundstate" src="sound.png"> <img id="soundstate" src="sound.png">
<input class="joinbutton button" type="button" value="Join Game" onClick="joinGame()"> <input class="joinbutton button" type="button" value="Join Game" onClick="joinGame()">
@@ -30,11 +27,9 @@
</div> </div>
</td> </td>
<td> <td>
<!-- <div> --> <h2>Player 2</h2>
<h2>Player 2</h2> <h3 id="player2Name"></h3>
<h3 id="player2Name"></h3> <h1 id="player2Score">0</h1>
<h1 id="player2Score">0</h1>
<!-- </div> -->
</td> </td>
</tr> </tr>
<tr height="50px"></tr> <tr height="50px"></tr>
@@ -47,26 +42,6 @@
<td></td> <td></td>
</tr> </tr>
</table> </table>
<!-- <div>
<div class="firstplayer player">
<h2>Player 1</h2>
<h3 id="player1Name"></h3>
<h1 id="player1Score">0</h1>
</div>
<div class="secondplayer player">
<h2>Player 2</h2>
<h3 id="player2Name"></h3>
<h1 id="player2Score">0</h1>
</div>
<div>
<canvas id='canvas1' class='canvas' width='1000' height='500'>
Canvas not supported
</canvas>
<div></div>
<input class="joinbutton button" type="button" value="Join Game" onClick="joinGame()">
<input class="leavebutton button" type="button" value="Leave Game" onclick="leaveGame()">
</div>
</div> -->
<script src='game.js'></script> <script src='game.js'></script>
</body> </body>
</html> </html>

View File

@@ -24,10 +24,6 @@ img{
margin-left: 200px; margin-left: 200px;
} }
/* table, th, td{
border: 1px solid black;
} */
.canvas { .canvas {
background-image: url("rink.jpg"); background-image: url("rink.jpg");
border: thin inset #aaaaaa; border: thin inset #aaaaaa;
@@ -39,16 +35,9 @@ img{
font-family: Arial; font-family: Arial;
} }
/* .firstplayer{
}
.secondplayer{
} */
.button{ .button{
outline: none; outline: none;
position: absolute; position: absolute;
/* position: relative; */
margin: 5px; margin: 5px;
-webkit-border-radius: 28; -webkit-border-radius: 28;
-moz-border-radius: 28; -moz-border-radius: 28;