Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Foulest committed Dec 5, 2024
1 parent 612fa9f commit a10838c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/net/foulest/swiss/Team.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ public class Team {
private String name;
private int seeding; // Higher number = better seed
private int worldRanking; // Lower number = better rank
private double avgPlayerRating; // Average player rating

// The average player rating is calculated by adding each player's
// HLTV 2.1 rating from the past 3 months together and dividing by five
private double avgPlayerRating;

// Method to get the Team object based on the team name
public static @Nullable Team getTeamByName(String name) {
Expand Down

0 comments on commit a10838c

Please sign in to comment.