Testing snake game for HTML5