Initial code for HTML5 tank game demo