Dodge, now on a canvas
Whenever I am learning a new language or platform, I seem to end up writing Dodge again. Move a square around, avoid the bad blocks, and see how long you can keep going. This time I tried it with the HTML canvas. It is an 800-by-600 canvas with a plain JavaScript loop running about twenty […]