Interface RaceScoreBased

Race which is score based - members need to get the highest score possible within a time limit.

Hierarchy

  • Omit<BaseRace, "type">
    • RaceScoreBased

Properties

name: string

Name of the race.

instructions: string

Part of the instructions visible to all members before starting a race.

objectives: string

Part of the instruction visible only to members who started a race.

startDate: Date

Date of starting the race.

endDate: Date

Date of ending the race.

downloadLink: string

URL to the game's website.

downloadGrace: number

Time to download the game [seconds].

uploadGrace: number

Time to upload a proof of finishing the game [seconds].

owner: string

Discord ID of the race's owner.

season: null | string

ID of the season that this race belongs to (if null, it's a special non-seasoned race).

icon?: string

URL of the race's icon.

isActive: boolean

Flag indicating if the race is currently ongoing.

isDone: boolean

Flag indicating if the race is finished and grace period after its end also finished.

Score based race type.

playLimit: number

Time limit for the user to achieve the highest score [minutes].

warningPeriod: number

How much time before end of a run player is warned that their time is ending [minutes].

ownerScore: null | number

Score of the race's owner.

_id: ObjectId

Generated using TypeDoc