tadeaustria / EverdellScore

Serverless JS App for counting Everdell Score
https://tadeaustria.github.io/EverdellScore/
GNU General Public License v3.0
2 stars 3 forks source link

Garland awards should sort players scores numerically, not alphabetically #19

Closed Dajakk closed 1 year ago

Dajakk commented 1 year ago

When player 1 has 11 cards of given type, and player 2 has 3 cards of the same type, then garland awards should award player 1 with 6 points and player 2 with 3 points, not the other way around. Right now 11 and 3 are compared as strings, not as numbers, making "3" > "11"

tadeaustria commented 1 year ago

Thanks, for noticing. I think it is not that severe to create a new version for that, but will merge it then.