johnridesabike/coronate

Can't change ranking players

Closed this issue · 1 comments

I find small bug. When I try add new user to tournament I can't change his ranking. When I try change ranking input, input above is changing.

Zrzut ekranu 2020-05-30 o 17 06 31

In the other hand this app is great! I try write mobile chess tournament app in React Native, but I can't write swiss pairing algorithm...

This should be fixed now in 9c062af

Figuring out the Swiss pairing was one of the trickier parts of making this. You can see a lot of the logic for it here: https://github.com/johnridesabike/coronate/blob/master/src/Data/Data_Pairing.re Some of the code is still a bit messy, but the basic idea is that you need to get a list of every possible pairing, rate how ideal that pairing is, and then use the blossom algorithm to get the result.