Code:
#
# 30 team schedule, 162 games
# Designed for the following configuration:
# 2 subleagues
# first with 4 divisions, each with 4 teams
# second with 3 divisions of 4, 5, and 5 teams
#
#
# first subleague
#
# 24 games against 3 other teams in division (12H/12A)
# 6 games against 12 other teams in league (3H/3A)
# 3 games against 6 random teams in other league (3H or 3A)
#
# second subleague 4-team division
#
# 26-29 games against 3 other teams in division (13-16H/13-16A)
# 6-9 games against 10 other teams in division (3-6H/3-6A)
# 3 games against 7 random teams in other league (3H or 3A)
#
# second subleague 5-team division
#
# 18 games against 4 other teams in division (8-10H/8-10A)
# 6-9 games against 9 other teams in division (3-6H/3-6A)
# 3 games against 6-7 random teams in other league (3H or 3A)
#
#
# Teams play as many as 20 consecutive days without offday
#
# No homestands or roadtrips longer than 13 games
# All-Star break and byes counted as ending homestands/roadtrips
#
# All teams play 13-14 weekend series at home
#
# All game times set at 7:05pm
#
# Season begins Friday before first Monday of April
# Season ends late September/early October
# Season spans 185 days
#
# All-Star Game first Tuesday after July 9 (day 103)
#
# Built on 2020-04-24
#