simple game using html5 canvas