{m x[a}w n g]

what do i put in this blog

Some practice with Javascript

Before heading into my second Facebook internship, which will be my first attempt at doing any sort of web programming, I decided to teach myself some Javascript. This is actually the third time I’ve decided to “learn Javascript”, but having nothing in mind to make with it after the first two attempts, all I achieved was a pleasant and nostalgic sense of familiarity whenever I looked over Mozilla’s JS references.

My friend Carl suggested that I duplicate a js1k submission, so here’s my simplified clone of this pong game from the first js1k—simplified in the sense that it is less flashy. It is, of course, many more bytes.

The purple paddles are controlled by the a and q keys; the turquoise paddles, by the p and l keys.

Your browser does not support the <canvas> tag! Sadface.
comments powered by Disqus