1. INTRODUCTION
In recent years, the HTML standard was updated to include
a canvas element, allowing websites to show and dynamically
change an image. The paper will refer to this
standard as HTML5, since HTML does not clearly convey
that it only works for recently updated web-browsers. Webbased
games can be developed in Flash, however, not all
devices run that, and it requires a proprietary development
environment. The promise of HTML5 is that we can reach
a “proliferation of diverse devices” [3]. It can be run by
many different devices using many different browsers. Is it
possible, using only JavaScript with HTML5, to make a 2-
D action game? In this paper, we show how this can be
accomplished.