Last active
March 10, 2021 18:01
-
-
Save rschwabco/0604e1b43945b574e2305cd2fa2638ba to your computer and use it in GitHub Desktop.
Sorting Game Tracker For Gali
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
Sorting Game Tracker For Gali | |
Idle* | |
Start Playing* | |
Pick up shape* | |
Name the shape | |
Name match success -> Attempt match | |
Name match failure -> Name the shape | |
Attempt match | |
Move -> Move the sorter | |
Match success -> Success | |
Match failure -> Failure | |
Move the sorter | |
Rotate | |
Open | |
Close | |
Attempt Match | |
Success | |
Failure | |
End Session | |
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; | |
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