DHTML Pong

.scoreBox {
color: #dedede;
font-size: 36pt;
font-family: courier;
}
.paddleBox {
background: black;
}
.ballBox {
background: black;
}

f = window.onload;
if (typeof(f) == “function”) {
window.onload = function() {
init();
f();
}
}

0
0
 
 
 

How to play
Click Start to start the game. Use the left & right arrow keys to move your paddle. Try to bounce the ball past the computer (top paddle) without letting the ball drop past yours.
Why?
Mostly, just because.
I love JavaScript I love [...]

JavaScript

DHTML Pong
The classic Pong game, in JavaScript and DHTML.

Game of Life
A JavaScript implementation of John Conway’s Game of Life.
Note: This is not a very efficient implementation,
so it runs like molasses. It’s nifty, though.
In the near future, I’ll implement uploading of .cells files to start
it off; in the meantime you’ll have to draw your own starting [...]

JavaScript Stuff

I’ve posted a new site section with my JavaScript/DHTML creations, such as Pong and a new one: John Conway’s Game of Life.
ยป JavaScript Creations
Technorati Tags: JavaScript, Pong, Game of Life