pdgonzalez872 / pista

Padel is ❤️
https://pista.cloud/
1 stars 0 forks source link

Epic: Results #4

Open pdgonzalez872 opened 1 month ago

pdgonzalez872 commented 1 month ago

Results will be one of the building blocks for more interesting things we could potentially add in the app. Creating a tournament, placing players in a draw and then moving them based on results would a possible.

Results is a very generic concept though. There are at least a few of them in our domain:

placing players in a draw

Once you have the concept of draws for tournaments and you know that a match will happen between two teams, if you find the match result for that match you can MOVE that player in the draw, advancing the player in the draw. The logic to do this is described in this blog post I wrote a few years ago: https://pdgonzalez872.github.io/articles/010_20200921_draw_advance.html

(I'll keep editing this issue with more details)