Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 35 lines (33 sloc) 754 Bytes
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script id='socketio'></script>
<script>
$('#socketio').attr('src', "http://"+document.domain+":8080/socket.io/socket.io.js")
setTimeout(function(){
$('#game').attr('src',"game.js")
}, 1000)
</script>
<audio autoplay='autoplay' src='pacman.wav'></audio>
<canvas id='board' width='1032' height='500' ></canvas>
<script id='game'></script>
<style>
#message {
display: none;
position: absolute;
left: 100px;
top: 50px;
z-index: 100;
font-size: 73pt;
color: red;
}
#full {
display: none;
z-index: 100;
position: absolute;
left: 100px;
top: 100px;
font-size: 72px;
color: red;
}
</style>
<div id='message'></div>
<div id='full'></div>