Code:
#
# 34 team schedule, 156 games
# Designed for the following configuration:
# 2 subleagues each with 2 divisions...
# 1st subleague has divisions of 8 teams and 9 teams
# 1st subleague has divisions of 9 teams and 8 teams
#
#
# 8-team divisions
# 13-15 games against 7 other teams in division (6-9H/6-9A)
# 3 games against 9 teams in other division in league (3H or 3A)
# 2 games against each team other league (2H or 2A)...
# ...except 4 games against one interleague opponent (2H/2A)
#
# 9-team divisions
# 12 games against 8 other teams in division (4-8H/4-8A)
# 3 games against 8 teams in other division in league (3H or 3A)
# 2 games against each team other league (2H or 2A)...
# ...except 4 games against one interleague opponent (2H/2A)
#
#
# Odd number of teams in each subleague requires at least one interleague
# series being played at all times. Interleague series being all 2 games
# in length cause some unusual features. Most notably series in some
# cases wraparound Sun-Mon, and there are some offdays during weekends,
# mostly on Sundays.
#
# Almost all of intraleague interdivision games are in the first 8 series
# of the season. Those are 3-game series with one offday late in the
# period and do not adhere to the 2-series-per-week paradigm.
#
# All of the interleague games matching teams from divisions of different
# sizes occur immediately following the All-Star break. Those are 2-game
# series with no offdays during the period and do not adhere to the
# 2-series-per-week paradigm.
#
# The interleague games between 8-team division teams occur all together
# in several scattered half-weeks.
#
# The interleague games between 9-team division teams occur mostly one at
# a time throughout the season.
#
# Teams generally play no more than 20 consecutive days without offday...
# ...except 9-team division teams may play as many as 27
#
# There are a handful of cases of teams having consecutive days off
#
# No homestands or roadtrips longer than 14 games
#
# Most teams play 25-27 Sat/Sun at home...
# ...but team may play as few as 21 and as many as 31
#
# All game times set at 7:05pm
#
# Season begins Thursday before first Monday of April
# Season ends late September
# Season spans 179 days
#
# All-Star Game in mid-July
#
# Built 2019-04-06
#