OOTP Developments Forums

OOTP Developments Forums (https://forums.ootpdevelopments.com//index.php)
-   OOTP Mods - Schedules (https://forums.ootpdevelopments.com//forumdisplay.php?f=3632)
-   -   80 game schedule required (https://forums.ootpdevelopments.com//showthread.php?t=298546)

mavericktango 02-09-2019 03:15 AM

80 game schedule required
 
Can somebody please help me with this?

Iím looking for a ten team league, two divisions, no inter-league play. Each team will play a four-game series each week (Thu-Sun). An All-Star game should be scheduled as the only game of the week after the teams have played 40 games.

Would the schedule randomise each season? Or would it just repeat each year?

Thanks in advance for any help

gmo 02-28-2019 10:49 PM

1 Attachment(s)
This is configured as one subleague with two divisions as opposed to two subleagues each with one division. Hopefully that is the correct interpretation of your description.

Code:

#
# 10 team schedule, 80 games
# Designed for the following configuration:
# 1 subleague with 2 divisions, each with 5 teams
#
#
# 16 games against 4 other teams in division (8H/8A)
# 4 games against 4 of the 5 teams in other divisions (4H or 4A)
#
#
# All games are in 4-game series played Thu-Sun
# One series per week
#
# Up to 16 games in row may be played home or away
#
# All game times set at 7:05pm
#
# Teams play no more than one game per day
#
# Season begins first Thursday after first Monday in April
# Season ends late August
# Season spans 144 days
#
# All-Star Game on Friday of week midway through season
# Otherwise that week is open
#
# Built 2019-02-12
#

The schedule will randomize the teams within each division every year. Each slot is filled by one of the teams from the division, which could be the team it was. A 5-team division may randomize like...
A -> C
B -> E
C -> B
D -> D
E -> A
Every schedule "slot" set gets filled by the random team the next year. If the first series was A vs B, it would be C vs E the next year after that randomization. The "D" above would fill its same slot being at home and on the road at exactly the same schedule positions since the randomizing did not change that team's slot. But the opponents would all be different because all of the other teams did shuffle.

mavericktango 03-01-2019 04:09 AM

Thank you very much for taking the time to do this, it sounds like youíve hit the nail right on the head 👍😊🏆


All times are GMT -4. The time now is 11:48 AM.

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Copyright © 2020 Out of the Park Developments