I’m in! 3rd timer!

I should be asleep, so I’ll make it fairly quick. I’m going to be using HTML5 canvas and JavaScript for my game. If anyone else wishes to do the same (hint: don’t, it’s quite a pain) below is the template I’ll be using for the game jam. GLHF everyone!

window.addEventListener("load", initialize, false);

var canvas;
var ctx;

function initialize() {
canvas = document.getElementById('canvas');
if (!canvas.getContext) {
alert("Too old browser!");
return;
}
ctx = canvas.getContext('2d');

ctx.font="bold 12pt Courier New";

ctx.save();
loadImages();
game();
}

function loadImages() {
var img = [
];
for (i = 0; i < img.length; i++) {
imgl[img[i]] = new Image();
imgl[img[i]].src = "img/"+img[i]+".png";
//ctx.clearRect(0, 0, 720, 480);
//ctx.fillText("Loading images... "+String(i*100/img.length).slice(0,2)+"%", 50, 200);
}
}

function game() {
var next = setTimeout("game()",15);
tick();
render();
}

function tick() {}

function render() {}

function keyd(e) {
console.log(e.keyCode);
switch(e.keyCode) {
}
}
function keyu(e) {
switch(e.keyCode) {
}
}