From 570605be6af5fada071d86b92a9a7c6f6009ac1d Mon Sep 17 00:00:00 2001 From: ni-richard Date: Mon, 16 Sep 2019 21:35:21 +0200 Subject: [PATCH] Created FSM (markdown) --- FSM.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 FSM.md 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