old-fashioned role playing game using html5 canvas and javascript