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%">
<tr>
<td>
<!-- <div> -->
<h2>Player 1</h2>
<h3 id="player1Name"></h3>
<h1 id="player1Score">0</h1>
<!-- </div> -->
</td>
<td width="1000px">
<div>
<canvas id='canvas1' class='canvas' width='1000' height='500'></canvas>
<!-- <div></div> -->
<input class="button" type="button" value="Toggle Sounds" onClick="toggleSound()">
<img id="soundstate" src="sound.png">
<input class="joinbutton button" type="button" value="Join Game" onClick="joinGame()">
@@ -30,11 +27,9 @@
</div>
</td>
<td>
<!-- <div> -->
<h2>Player 2</h2>
<h3 id="player2Name"></h3>
<h1 id="player2Score">0</h1>
<!-- </div> -->
</td>
</tr>
<tr height="50px"></tr>
@@ -47,26 +42,6 @@
<td></td>
</tr>
</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>
</body>
</html>

View File

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