You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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: