diff --git a/FSM.md b/FSM.md new file mode 100644 index 0000000..764cd6a --- /dev/null +++ b/FSM.md @@ -0,0 +1,12 @@ +Another unique feature of the framework is the *FSM* - representing the state of your challenge. This allows you to track users progressing with the tasks you've defined for them to complete. + +For instance, you could represent whether the user managed to create a malicious user with a state called `user_registered` and subscribe callbacks to events regarding that state (like entering or leaving). + +You could create challenges that can be completed in several different ways: imagine a state called `challenge_complete`, which indicates if the challenge is completed. Several series of actions (triggers) could lead to this state. + +This enables you to guide your users through the experience you've envisioned with your tutorial. We can provide a whole new level of interactivity in our challenges because we know what the user is doing. This includes context-dependent hints and the automatic typing of commands to a terminal. +*** + +**Available commands**: +* [fsm.trigger](https://github.com/avatao-content/baseimage-tutorial-framework/wiki/fsm.trigger) +* [fsm.update](https://github.com/avatao-content/baseimage-tutorial-framework/wiki/fsm.update) \ No newline at end of file