Skip to content

Instantly share code, notes, and snippets.

@loganmoseley
Last active October 25, 2018 22:06
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 loganmoseley/45411f0762cc6e06abf863f0e39c3e64 to your computer and use it in GitHub Desktop.
Save loganmoseley/45411f0762cc6e06abf863f0e39c3e64 to your computer and use it in GitHub Desktop.
Lifelinez iOS version 2-18
Lifelinez iOS version 2-18
Beginning
Lifeline menu -> Lifeline menu
Keyboard -> keyboard shortcut
Lifeline menu
Turn Autocheck ON-OFF -> toggleAutocheck
Check Square -> checkSelectedSquare
Check Word -> checkSelectedWord
Check Puzzle -> checkPuzzle
Reveal Square -> revealSelectedSquare
Reveal Word -> revealSelectedWord
Reveal Puzzle -> revealPuzzle
Clear Puzzle -> clearPuzzle
Keyboard
keyboard shortcut
Escape -> keyboard Escape key
Cmd-C -> checkSelectedWord
Cmd-Shift-C -> checkPuzzle
Cmd-R -> revealSelectedWord
Cmd-Shift-R -> revealPuzzle
keyboard Escape key
is anything presented?
yes -> dismissPresentedView
no -> Lifeline menu
toggleAutocheck
is Autocheck on?
yes -> disableAutocheck
no -> should Autocheck warn DQ?
should Autocheck warn DQ?
yes -> Warn DQ
no -> checkPuzzleForAutocheck
checkSelectedSquare
should check square warn DQ?
yes -> Warn DQ
no -> reallyCheckSelectedSquare
checkSelectedWord
should check word warn DQ?
yes -> Warn DQ
no -> reallyCheckSelectedWord
checkPuzzle
should check puzzle warn DQ?
yes -> Warn DQ
no -> reallyCheckPuzzle
revealSelectedSquare
should reveal square warn DQ?
yes -> Warn DQ
no -> reallyRevealSelectedSquare
revealSelectedWord
should reveal word warn DQ?
yes -> Warn DQ
no -> reallyRevealSelectedWord
revealPuzzle
should reveal puzzle warn DQ?
yes -> Warn DQ
no -> Confirmation Alert of Reveal Puzzle
Confirmation Alert of Reveal Puzzle
confirm -> reallyRevealPuzzle
cancel -> Beginning
clearPuzzle
clear should warn DQ?
yes -> Warn DQ
no -> Confirmation Alert of Clear Puzzle
Confirmation Alert of Clear Puzzle
confirm -> reallyClearPuzzle
cancel -> Beginning
Warn DQ
Confirmation Alert of Warn DQ
confirm Autocheck -> checkPuzzleForAutocheck
confirm check square -> reallyCheckSelectedSquare
confirm check word -> reallyCheckSelectedWord
confirm check puzzle -> reallyCheckPuzzle
confirm reveal square -> reallyRevealSelectedSquare
confirm reveal word -> reallyRevealSelectedWord
confirm reveal puzzle -> reallyRevealPuzzle
confirm clear puzzle -> reallyClearPuzzle
cancel -> Beginning
dismissPresentedView
done -> Beginning
checkPuzzleForAutocheck
done -> Beginning
disableAutocheck
done -> Beginning
reallyCheckSelectedSquare
done -> Beginning
reallyCheckSelectedWord
done -> Beginning
reallyCheckPuzzle
done -> Beginning
reallyRevealSelectedSquare
done -> Beginning
reallyRevealSelectedWord
done -> Beginning
reallyRevealPuzzle
done -> Beginning
reallyClearPuzzle
done -> Beginning
function render(model){
let current_state_name = model.active_states[0].name
let current = model.active_states[0]
let parent = current.parent
let transitions = current.transitions
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