Skip to content

Instantly share code, notes, and snippets.

@laheadle
Last active June 16, 2018 13:34
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 laheadle/044cc136e8d4a21cbb75e8379146cdad to your computer and use it in GitHub Desktop.
Save laheadle/044cc136e8d4a21cbb75e8379146cdad to your computer and use it in GitHub Desktop.
Creator
Creator
Dialogging
create new dialog -> Creating Invitation
Creating Invitation
start typing -> Typing
Typing
submit -> Awaiting Response
Awaiting Response
response-link-clicked -> Responder
Responder
has-account -> Dialogging
wants-login -> Login
wants-signup -> Signup
Signup
login-with-google -> ChooseCharacter
login-with-reddit -> ChooseCharacter
ChooseCharacter
chosen -> Dialogging
Login
submit -> ChooseCharacter
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