Will need to change format of matches being stored in csv to allow doubles to be stored
I propose
Winner A, Winner B, Score 1, Score 2, Loser A, Loser B, Threw First
Ricky, Daniel, 4, 1, Zak , Eoghan, Ricky
Ricky, , 3, 2, Eoghan, , Ricky
For singles matches only winner A and loser A will be filled while Winner B and Loser B will be null.
A simple check in the calc_prev_matches function for whether or not they are populated will determine whether
match_result() or doubles_match_result() is used
Will need to change format of matches being stored in csv to allow doubles to be stored I propose
For singles matches only winner A and loser A will be filled while Winner B and Loser B will be null. A simple check in the calc_prev_matches function for whether or not they are populated will determine whether match_result() or doubles_match_result() is used