Code:
#
# 30 team schedule, 162 games
# Designed for the following configuration:
# 2 subleagues, each with 3 divisions of 5 teams
#
#
# 17 games against 6 other teams in division (8H/9A or 9H/8A)
# 6-7 games against 10 other teams in subleague (3-4H/3-4A)
# 2 games against each team in other league (2H/2A)
#
#
# Many 2-game series, including all interleague, which has various effects
# * A handful of cases of teams have consecutive offdays
# * Sunday is occasional offday
# * A few other instances where depart from two-series-per-week paradigm
# to fit the needed series in the calendar
#
# To achieve same number of home & away games for all teams, one pair of teams
# plays their interleague series to start the season with one game hosted by each team
#
# A few doubleheader is one of the last weeks of the season
#
# No homestands or roadtrips longer than 15 games
#
# Team play as many as 20 consecutive days
#
# Weekend series at not balanced home/away
#
# 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) and
# first games of doubleheaders
#
# Season begins first Thursday on or after March 28
# Season ends first Sunday on or after September 29
# Season spans 186 days
#
# All-Star Game on first Tuesday on or after July 2 (day 97)
#
# Built 2024-07-30
#