Jon Solow
commited on
Commit
·
17ffde3
1
Parent(s):
699d3c9
Apply multiplier on player score
Browse files
src/pages/11_Scoreboard.py
CHANGED
@@ -88,7 +88,10 @@ def get_roster_html_str(
|
|
88 |
return roster_str
|
89 |
|
90 |
|
91 |
-
def get_player_html_str(
|
|
|
|
|
|
|
92 |
if player_opt.week and player_opt.team:
|
93 |
game_map = get_schedule_with_live().get(player_opt.week, {}).get(player_opt.team, {})
|
94 |
else:
|
|
|
88 |
return roster_str
|
89 |
|
90 |
|
91 |
+
def get_player_html_str(
|
92 |
+
player_opt: PlayerOption, player_stats: dict[str, float], player_score: float, multiplier: int
|
93 |
+
) -> str:
|
94 |
+
score = player_score * float(multiplier)
|
95 |
if player_opt.week and player_opt.team:
|
96 |
game_map = get_schedule_with_live().get(player_opt.week, {}).get(player_opt.team, {})
|
97 |
else:
|