jackconryan / DartsElo

Creating an Elo system for our local Darts matches/tournaments.
0 stars 1 forks source link

Ap 3 single and doubles match cohesion #9

Open jackconryan opened 11 months ago

jackconryan commented 11 months ago

Singles and doubles matches are now stored in the same csv file with the calculate_prev_matches() function being updated to look for whether the match contains more than 2 players. image results from matches remains the same which tells me there was no loss of functionality from the changes.

also changed calculate_prev_matches() to catch a value error rather than raising one when threw first is not filled in.

https://github.com/jackconryan/DartsElo/issues/3#issue-1913971396