Moving Our Tokens Through Transformations
Let’s learn how our tokens will progress throughout the course of the quiz.
Moving our tokens
Remember, our quiz is a token, like a token on a game board.
-
Think of our token advancing through the game board squares where each square is a new question.
-
The most critical advancements happen when we choose a question and when the user answers questions.
-
The
Quiz
token will need to seamlessly move through states just as a token moves through the game.
Transitioning our template
We can now move a template from our master quiz.templates
list to quiz.used
with a question chosen. We’ll fill this in /lib/mastery/core/quiz.ex
.
Get hands-on with 1200+ tech skills courses.