Simple Line Runner game using HTML5 canvas