Skip to content

Instantly share code, notes, and snippets.

@rschwabco
Last active March 10, 2021 18:01
Show Gist options
  • Save rschwabco/0604e1b43945b574e2305cd2fa2638ba to your computer and use it in GitHub Desktop.
Save rschwabco/0604e1b43945b574e2305cd2fa2638ba to your computer and use it in GitHub Desktop.
Sorting Game Tracker For Gali
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
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