Skip to main content
Module

x/glicko2/deno_dist/mod.ts>Team

🎖️ Implementation of the Glicko-2 rating system in Typescript
Latest
class Team
Re-export
import { Team } from "https://deno.land/x/glicko2@v1.3.2/deno_dist/mod.ts";

The class for teams

Constructors

new
Team(players?: Player[])

Properties

private
players: Player[]
private
rating: () => unknown
private
rd: () => unknown

Methods

addPlayer(player: Player)

Adds a Player to the team

Gets the full array of players in the team

Gets the avg rating of the players in the team

Gets the avg rating deviation of the players in the team

Makes a composite Player to use in Glicko2.getTeamMatches

Removes a Player from the team