gun slinger!

This commit is contained in:
theory 2014-09-24 12:21:41 -07:00
parent 0330390fc8
commit fb172a7947

View File

@ -33,16 +33,28 @@
z-index: 9999;
background: brown;
color: white;
position: fixed;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
}
.player input, .player button {
font-size: 18pt;
}
</style>
<div id="duel" class="none fight">
<center>
<h2>GET READY!</h2>
<button id="reset" class="none">
Reset the game!
</button>
</center>
</div>
<h2><i>GUNSLINGER</i></h2>
<span>Old West Duel! Two players are needed, whoever can tap the screen first to draw their pistol and shoot wins!</span><br>
<span><b>Fastest gun in the west, <span name="fastest">nut'n</span> seconds, by <span name="slinger">nobody</span>.</b></span>
@ -52,14 +64,6 @@
<form id="p2" class="player" onsubmit="return false;">
Player 2: <input type="text" name="p2" placeholder="nickname"> <button type="submit">Join!</button>
</form>
<div id="duel" class="none fight">
<center>
<h2>GET READY!</h2>
<button id="reset" class="none">
Reset the game!
</button>
</center>
</div>
<span><b>Last duel won by <span name="last">no one</span> in <span name="ended">0</span> seconds against <span name="loser">nobody</span>.</b></span>
<script>
$(function(){