davemart-in / tablechamp-app

Table Sports Leaderboard App (FireBase back-end)
https://tablechamptest.web.app
MIT License
74 stars 39 forks source link

What's the algorithm in the scoring system? #1

Open akayueh opened 7 years ago

akayueh commented 7 years ago

Hi Dave

Thanks for releasing the Table Tennis scoring system to Github, I am interested in working out the algorithm for the scoring, but I can't find it in the source tree, are you able to point me to the correct area and explain how the points been calculated?

Thanks

ruudvanderweijde commented 7 years ago

I'm not sure if you question is already answered, but I believe you can find it here: https://github.com/davemart-in/tablechamp-app/blob/3cd077f180ef43050d691769a275886960a8eaef/js/source/tablechamp.js#L623