Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UserRank

Describes the user's rank overall, and per language basis.

Hierarchy

  • UserRank

Index

Properties

color: string

The color of the rank. Possible colors are white (7-8 kyu), yellow (5-6 kyu), blue (3-4 kyu), purple (1-2 kyu), black (1-4 dan), and red (5-8 dan).

name: string

Either {-rank} kyu or {rank} dan.

rank: number

Rank in integer. [-8, -1] maps to kyu, [1, 8] maps to dan.

score: number

The total score earned. This is the number that determines the rank.

Generated using TypeDoc