118
119
120
121
122
123
124
125
126
127
128
129
130
 for n, player in enumerate(g.players):
row = n + 3
ws.write(row, 0, player.name, row_heading)
for r in range(g.current_round()):
col = r + 1
ws.write(row, col, player.round_scores[r], score_style)
ws.write(row, end_col + 1, sum(player.round_scores), total_style)
ws.write(row, end_col + 4, sum(player.round_bunco_counts), total_style)
ws.write(row, end_col + 5, sum(player.round_roll_counts), total_style)
wb.close()


>
>
>
>
>
 118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
 for n, player in enumerate(g.players):
row = n + 3
ws.write(row, 0, player.name, row_heading)
for r in range(g.current_round()):
col = r + 1
ws.write(row, col, player.round_scores[r], score_style)
# derive losses from wins
losses = [int(not x) for x in player.round_wins]
ws.write(row, end_col + 1, sum(player.round_scores), total_style)
ws.write(row, end_col + 2, sum(player.round_wins), total_style)
ws.write(row, end_col + 3, sum(losses), total_style)
ws.write(row, end_col + 4, sum(player.round_bunco_counts), total_style)
ws.write(row, end_col + 5, sum(player.round_roll_counts), total_style)
wb.close()
