Simple platformer game in HTML 5