The correct song for this question.
The name of the song artist.
A URL to the audio file of the song. Currently only audio previews from Apple Music, SoundCloud and YT are allowed.
Cover URL of the song.
The URL users will be redirected to when clicking.
The name of the song.
all possible songs that could be used for distractions
The name of the song artist.
A URL to the audio file of the song. Currently only audio previews from Apple Music, SoundCloud and YT are allowed.
Cover URL of the song.
The URL users will be redirected to when clicking.
The name of the song.
the server config object
The list of songs for this question (1 correct answer + 3 distractors).
The name of the song artist.
A URL to the audio file of the song. Currently only audio previews from Apple Music, SoundCloud and YT are allowed.
Cover URL of the song.
The URL users will be redirected to when clicking.
The name of the song.
Readonlyconfigthe server config object
ReadonlysongThe correct song for this question.
The name of the song artist.
A URL to the audio file of the song. Currently only audio previews from Apple Music, SoundCloud and YT are allowed.
Cover URL of the song.
The URL users will be redirected to when clicking.
The name of the song.
The random/user-defined audio start position for this question.
ProtectedbaseProtected
Serializes only this base class to a PersistedAbstractGame object.
PrivategenerateAdds 3 random distraction songs to the question and shuffles all options.
Array of songs to use as distraction options. Will be copied, so no items are removed.
The name of the song artist.
A URL to the audio file of the song. Currently only audio previews from Apple Music, SoundCloud and YT are allowed.
Cover URL of the song.
The URL users will be redirected to when clicking.
The name of the song.
Returns the correct answer index.
Returns the round message for the current phase.
the current game phase
The current 4 question answer options.
OptionalcorrectAnswerIndex?: numberThe index of the correct answer, if answer is shown.
The random/user-defined audio start position for the current question.
Extracts song names from the questions array.
An array of song names for the answer options.
Serializes this game to a PersistedGame object.
Staticfrom
Constructs a mulitple choice question asking which is the correct song.