Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LoserBrackets #26

Open
6 tasks
LuminiteTime opened this issue Jun 4, 2024 · 0 comments
Open
6 tasks

Add LoserBrackets #26

LuminiteTime opened this issue Jun 4, 2024 · 0 comments
Assignees
Labels
feature New feature priority: high High priority task

Comments

@LuminiteTime
Copy link
Owner

LuminiteTime commented Jun 4, 2024

Функции:

  • Сетка может принимать игроков и размещать в нужном месте в сетке.
  • Сетка знает, за какие призовые места она отвечает, и может сказать, за какие призовые места она отвечает (нечетное - winner; getWinner, getLoser).
  • Есть getAvailableMatches.
  • getLoserByMatchId метод.

Должны быть 2 функции:

  • Определяем сколько в ней leaf losers nodes, которые могут начать играть сразу после матча в winning сетке. Принимает диапозон индексов самых левых нодов.
  • Заполнение змейкой по пачкам игроков, пришедших в какой-то момент времени, опираясь на matchIndex.
@LuminiteTime LuminiteTime converted this from a draft issue Jun 4, 2024
@LuminiteTime LuminiteTime added this to the 2.0 milestone Jun 4, 2024
@LuminiteTime LuminiteTime self-assigned this Jun 4, 2024
@LuminiteTime LuminiteTime added feature New feature priority: high High priority task labels Jun 4, 2024
@LuminiteTime LuminiteTime moved this from Todo to In Progress in Tournament Microservice Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature priority: high High priority task
Projects
Status: Todo
Development

No branches or pull requests

1 participant