-
-
Notifications
You must be signed in to change notification settings - Fork 63
New State Machine: Quiz or Test #37
Comments
Hey @karlhorky - fantastic idea! Let's use this issue to ideate on requirements and come up with ideas. Initial thoughts: The state machine should not be tied to the specific quiz - i.e. it should be able to handle any set of quiz questions that fall within certain types. An example question interface might be: interface Question {
type: 'free-text' | 'multiple-choice';
text: string;
} We'd feed those into context initially, then work out our states based on that. A state map I'm thinking would be:
The
Once you arrive at Off to And then to What do you think of this initial framework? Some things left to consider - context, events, and any actions along the way. |
A couple of months ago I was trying to model a generic scheduler for a flashcard system (think Anki, Quizlet, ect.). I never got a chance to finish it and I would probably do some things different (as I have learned a lot since then), but maybe it can provide some inspiration! |
I started to make a quiz program 6mo ago. Strictly singe-choice, but here are some considerations:
|
Hi @mattpocock, thanks for this project, really cool! 🙌 So amazing to see high quality examples of state machines - great for learners like our bootcamp students at @upleveled.
I'm not sure if you're accepting suggestions for new state machines, but I wanted to open an issue just in case.
It would be cool to have a state machine in the catalogue that would represent a quiz or test, including features such as:
I'm kind of new to designing state machines, so the parts in parentheses above may be better implemented in a different way.
The text was updated successfully, but these errors were encountered: