-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NFL Stack with Bring Back #413
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to have a 3 man stack and a bring back player that is either RB, WR, or TE?
optimizer.add_stack(PositionsStack(['QB', 'WR', ('WR', 'TE')], for_teams=stack_teams))
optimizer.force_positions_for_opposing_team(('QB','WR)) <-- I know this would work for just WR but how can you get it to choose one of the 3 opposing positions?
bringback_options = [('QB', 'WR'), ('QB', 'RB'), ('QB', 'TE')]
selected_bringback = random.choice(bringback_options)
optimizer.force_positions_for_opposing_team(selected_bringback)
I have tried something like this, but it is then randomly choosing one tuple per QB, not lineup.
The text was updated successfully, but these errors were encountered: