game written in JavaScript using canvas.