Advance an event based on games played.
Advance an event based on games played.
(advance-event event)Given a tournament state, tries to advance it. ie: calculates Swiss Round matchups, fills brackets, scores pools, etc
Given a tournament state, tries to advance it. ie: calculates Swiss Round matchups, fills brackets, scores pools, etc
(advance-pending-group-result event pending-game)TODO: write docstring
TODO: write docstring
(create-matchups teams games swiss-round)Calculates the next Swiss round matchups. Returns a vector of matchups. Each matchup is a vector of [teamA-id teamB-id] The vectors are in-order. ie: the top team is at (ffirst) position
Calculates the next Swiss round matchups. Returns a vector of matchups. Each matchup is a vector of [teamA-id teamB-id] The vectors are in-order. ie: the top team is at (ffirst) position
(teams-already-played? teamA-id teamB-id all-games)Returns false or a game where the two teams have previously played.
Returns false or a game where the two teams have previously played.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |