It shall be unlawful for any minor under the age of 18 years to loiter, idle, wander, stroll, drive, or play in or upon the public streets, highways, roads, alleys, playgrounds, parks, public buildings, or to attend or frequent places of amusement, places where refreshments are served, drinking emporiums, taverns and other unsupervised public places, between the hours of 10:00 p.m. and 6:00 a.m. of the following day, central standard time of Sunday through Thursday and from 12:00 midnight to 6:00 a.m. on Friday and Saturday, provided however, that the provisions of this section do not apply to a minor accompanied by his or her parent, guardian or other adult person having the care and custody of the minor (or where the minor is upon an emergency errand of legitimate business directed by his or her parent, guardian or other adult person having the care and custody of the minor). Each violation of the provisions of this section shall constitute a separate offense.