For terminal live display of ladder tournaments. This forms the row of the table given a rank state
For terminal live display of ladder tournament. This forms the header of the table
Initialize rank state from scratch. Returns the rank state for new players to the tournament
Function that is called whenever a player is updated (new bot code). This returns a rank state that is stored as the player's new rank state
the rank state of the player that just got updated
Compare two rank states and return 0 if they are of equivalent rank, return a negative number if rankState1 < rankState2 and negative otherwise. Effectiely sort in descending rank with rank 1 being highest
Given a rank state, reset it and return the new rank state
Given an array of rank states and parallel array of the rankings each of the players associated with the rank states received, return a new array of updated rank states in the same order.
Generated using TypeDoc
Abstract Rank system class, that takes in generic types for configurations and a rank state Rank System enums and namespaces for the kind of ranking systems you can choose for a {@link Tournament}