crashtest-r0ket/tools/game/bong/bong.html

61 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2011-12-19 16:26:54 +00:00
<html>
<head><title>B-Pong</title></head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="bong.js"></script>
<style>
#playfield
{
color: black;
background-color: black;
border: 0px none black;
margin: 0px;
padding: 0px;
position: absolute;
top: 0px;
left: 0px;
}
div
{
font-size: 1px;
color: white;
background-color: #33FF33;
margin: 0px;
margin: 0px;
position: absolute;
top: 0px;
left: 0px;
}
div.score
2011-12-27 10:56:16 +00:00
{
color: #33FF33;
background-color: transparent;
width: 640px;
2012-01-02 19:16:30 +00:00
font-size: 30px;
2011-12-27 10:56:16 +00:00
font-family: courier new;
}
div.player
2011-12-19 16:26:54 +00:00
{
color: #33FF33;
background-color: transparent;
width: 640px;
2012-01-02 19:16:30 +00:00
font-size: 30px;
2011-12-19 16:26:54 +00:00
font-family: courier new;
}
</style>
<body>
<input id="playfield">
<div id="paddle_left"></div>
<div id="paddle_right"></div>
<div class="score" style="text-align:left" id="score_left">0</div>
<div class="score" style="text-align:right" id="score_right">0</div>
<div id="ball"></div>
</input>
<div style="font-size:14;color:black;background-color:white;" id="socket">s_data...</div>
<div style="font-size:14;color:black;background-color:white;" id="debug">debug</div>
2011-12-27 10:56:16 +00:00
<div class="player" style="text-align:left" id="player_left">0</div>
<div class="player" style="text-align:right" id="player_right">0</div>
2011-12-19 16:26:54 +00:00
</body>
</html>