Pong like it's 1978

Posted by Andrew Schutt on August 03, 2014 · 1 min read

NOTE:This was one of the first things I ever created on the web and is also an old post from 2014 according to the repo history. Hello again, I have created another game using Javascript. This time I created pong!

My reasoning for learning this time was to use good coding practices associated with Javascript using the constructor pattern. This also introduced me to setInterval and other asynchronous topics within Javascript.

Here is a copy of my version of the game.

Player 1 controls: up -> "W" down -> "S"

Player 2 controls: up -> "O" down -> "K"

Player 1:
0
Player 2:
0

PongJS

Your browser doesn't support canvas