Skip to content

Reference

tilttek/quiz
TypeRole
QuizThe questions in order, the default time limit and the scoring; grades and scores an answer
Scoring, ScoringModeAccuracy or speed, and the bonus of a quick answer
GradeHow right an answer is, in thousandths
QuestionTimerWhen a question was shown and how long it lasts
AnswerResultWhat an answer earned: grade, points, bonus, milliseconds, timed out or not
PlayerA member, or a guest under a pseudonym
PinReads the PIN a player types
SelfPacedQuizzesStarts, answers and shows the plays at one's own pace, each to its member alone; erases a member's plays
SelfPaced\PlayA member's run at their own pace, at an attempt and a version
SelfPaced\ReplaysPractice or Refused: a member's later plays of a quiz
SelfPaced\FeedbackAfterPlay or AfterEachAnswer: when a member sees their results
SelfPaced\PerfectScoreRuleOncePerQuizAndMember or EveryPerfectPlay
LiveQuizzesOpens, joins, shows, answers, closes and finishes the live sessions, and delivers the events of their end again after a failed listener; gives a guest's place to a member
Live\LiveSessionA live session, at a version
Live\LiveStateLobby, Question, Review or Finished
Leaderboard, StandingThe standings of a live session
Team\TeamLeaderboard, Team\TeamStandingThe standings of the teams of a live session
Team\TeamScoringTotal or Average
Pseudonym\WordListFilter, Pseudonym\ChainFilterFilters of pseudonyms: a word list, and filters asked in order
Mercure\LiveSessionPublisherPushes the moves of a live session through Mercure
Question\SingleChoiceQuestion, MultipleChoiceQuestion, OrderingQuestion, TypedAnswerQuestion, NumericQuestionThe kinds of questions
Question\ChoiceA choice, or an item to order
Answer\ChoiceAnswer, OrderAnswer, TextAnswer, NumberAnswerThe kinds of answers
Contract\Question, Contract\AnswerA question, an answer
Contract\QuizCatalog, Contract\PlayStore, Contract\LiveSessionStoreThe stores
Contract\QuestionSourceA bank of questions
Contract\PseudonymFilterThe pseudonyms allowed
Store\InMemoryQuizCatalog, InMemoryPlayStore, InMemoryLiveSessionStore, InMemoryQuestionSourceThe stores in memory
Event\QuizCompleted, PerfectScore, LiveQuizFinished, TeamWon, GuestInvitedSee Celebrations
Event\PlayerJoined, QuestionShown, QuestionClosedSee Playing
View\ResultViewWhat the result template shows
Exception\QuizException, InvalidQuiz, QuizRefused, QuizConflictSee Exceptions

Identifier and Question\Rules are internal.

The template templates/result.html.twig and the Stimulus controller result, in assets/, are described in Celebrations.