BenBrostoff / draftfast

A tool to automate and optimize DraftKings and FanDuel lineup construction.
278 stars 113 forks source link

roster aesthetics roster fixes #124

Open sharkiteuthis opened 5 years ago

sharkiteuthis commented 5 years ago

fix FLEX ordering in NFL lineups, they currently look like this:

+----------+--------+------+---------+--------+------------+----------+--------+
| Position | Player | Team | Matchup | Salary | Projection | vs. Avg. | Locked |
+----------+--------+------+---------+--------+------------+----------+--------+
| QB       | A2     | Y    | X@Y     |   5500 |         41 |    41.00 |        |
| RB       | A8     | X    | X@Y     |   5500 |         47 |    47.00 |        |
| RB       | A81    | X    | X@Y     |   5500 |         47 |    47.00 |        |
| WR       | A11    | X    | X@Y     |   5500 |         50 |    50.00 |        |
| WR       | A111   | X    | X@Y     |   5500 |         50 |    50.00 |        |
| WR       | A41    | X    | X@Y     |   5500 |         62 |    62.00 |        |
| WR       | A51    | Y    | X@Y     |   5500 |         63 |    63.00 |        |
| TE       | A10    | Y    | X@Y     |   5500 |         49 |    49.00 |        |
| DST      | A13    | Y    | X@Y     |   5500 |        500 |   500.00 |        |
+----------+--------+------+---------+--------+------------+----------+--------+

@BenBrostoff this is pretty low priority

BenBrostoff commented 5 years ago

@sharkiteuthis If you work on this the coloring versus the average doesn't work on Windows I think. If it's hard to adapt I vote no colors; if it's easy then do it. A library like crayons may be the way to go.

BenBrostoff commented 5 years ago

Also the FLEX problem impacts all sports with a flex. Re: how this should work, I think the worst projection should go to flex. So if you play an RB in the flex, the worst projected of the three RBs should be there. As an aside, I had a buddy of me complain to me a few seasons ago since I always played David Johnson in the flex when he was the best fantasy player in the league 😆