Skip to content

Instantly share code, notes, and snippets.

@asfktz
Last active July 27, 2021 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asfktz/af664ae90aef961a703ec9656cd1e4d8 to your computer and use it in GitHub Desktop.
Save asfktz/af664ae90aef961a703ec9656cd1e4d8 to your computer and use it in GitHub Desktop.
Aaa
Aaa
Init -> Assignment has challenge?
Assignment has challenge?
yes -> Challenge
no -> Single Package
Challenge
start package -> Work
Work
s
done -> Has More Packages?
Has More Packages?
yes -> Request Next Package
Single Package
Task
Work
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment