Last active
October 25, 2018 18:22
-
-
Save loganmoseley/f0b0741583abcbca9517ee1fad7cad62 to your computer and use it in GitHub Desktop.
Lifelinez iOS version 2-17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lifelinez iOS version 2-17 | |
Beginning | |
Lifeline menu -> Lifeline menu | |
Keyboard -> Keyboard | |
Lifeline menu | |
Turn Autocheck ON-OFF -> toggleAutocheck | |
Check Square -> checkSelectedSquare | |
Check Word -> checkSelectedWord | |
Check Puzzle -> checkPuzzle | |
Reveal Square -> revealSelectedSquare | |
Reveal Word -> revealSelectedWord | |
Reveal Puzzle -> handleRevealPuzzleTap | |
Clear Puzzle -> handleClearPuzzleTap | |
Keyboard | |
Escape -> Keyboard Escape | |
Cmd-C -> checkSelectedWord | |
Cmd-Shift-C -> checkPuzzle | |
Cmd-R -> revealSelectedWord | |
Cmd-Shift-R -> handleRevealPuzzleTap | |
Keyboard Escape | |
present lifelines -> Lifeline menu | |
dismiss any presented thing -> Beginning | |
checkSelectedSquare | |
should warn DQ? yes -> Warn DQ | |
should warn DQ? no -> reallyCheckSelectedSquare | |
checkSelectedWord | |
should warn DQ? yes -> Warn DQ | |
should warn DQ? no -> reallyCheckSelectedWord | |
checkPuzzle | |
should warn DQ? yes -> Warn DQ | |
should warn DQ? no -> reallyCheckPuzzle | |
revealSelectedSquare | |
should warn DQ? yes -> Warn DQ | |
should warn DQ? no -> reallyRevealSelectedSquare | |
revealSelectedWord | |
should warn DQ? yes -> Warn DQ | |
should warn DQ? no -> reallyRevealSelectedWord | |
revealPuzzle | |
should warn DQ? yes -> Warn DQ | |
should warn DQ? no -> reallyRevealPuzzle | |
toggleAutocheck | |
Do it? | |
is Autocheck on? yes -> disableAutocheck | |
is Autocheck on? no -> DQ? | |
DQ? | |
should warn DQ? yes -> Warn DQ | |
should warn DQ? no -> checkPuzzleForAutocheck | |
handleRevealPuzzleTap | |
Confirmation Alert of Reveal Puzzle | |
confirm -> revealPuzzle | |
cancel -> Beginning | |
handleClearPuzzleTap | |
Confirmation Alert of Clear Puzzle | |
confirm -> clearPuzzle | |
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 | |
cancel -> 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 | |
clearPuzzle | |
done -> Beginning | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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