It forbade gambling, keeping tippling house or grocery without a license, keeping tippling house open on the Sabbath day; being drunk or intoxicated; making loud or unnatural noises between 9 p. m. and 4 a. m.; riot, assault and battery; discharging a gun or pistol or other firearm, except by accident, or on a muster day, and then by order of the commanding officer; galloping or racing a horse a