Code:
#
# 16 team schedule, 162 games
# Designed for the following configuration:
# 1 subleague with 3 divisions of 5, 6, 5 teams
#
#
# 5-team divisions:
# 16-17 games against 4 other teams in division (7-9H/7-9A)
# 9 games against 11 other teams (3 or 6H / 3 or 6A)
# 6 games against 1 other team (3H/3A)
#
# 6-team division:
# 14-15 games against 5 other teams in division (6-9A/6-9H)
# 9 games against 10 other teams (3 or 6H / 3 or 6A)
#
#
# Teams play as many as 20 consecutive days without offday
#
# No homestands or roadtrips longer than 13 games
#
# All teams play 13-14 weekend series at home
#
# All weekday game times set at 7:05pm
# Saturday game times 30%-1:05pm, 20%-4:05pm, 50%-7:05pm
# Sunday game times 60%-1:05pm, 25%-4:05pm, 15%-7:05pm
# Exceptions 1:05pm getaway days (where both teams play elsewhere next day)
#
# Season begins first Friday on or after March 29
# Season ends late September/early October
# Season spans 185 days
#
# All-Star Game first Tuesday after July 13 (day 103)
# Though may not work with single subleague and odd number of divisions
#
# Built 2024-05-06
#