Skip to content

Instantly share code, notes, and snippets.

@justinobney
Last active August 3, 2021 13:43
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 justinobney/e20a41bdf45eacd676157f5030f45bbe to your computer and use it in GitHub Desktop.
Save justinobney/e20a41bdf45eacd676157f5030f45bbe to your computer and use it in GitHub Desktop.
Home
Home
timeout -> Idle Loop
Idle Loop
activate -> Bot Selection
Bot Selection
select clean -> Clean
select guide -> Guide
select serve -> Serve
Clean
timeout -> Idle Loop
bot selection -> Bot Selection
select guide -> Guide
select serve -> Serve
Clean Feature 1
select 2 -> Clean Feature 2
select 3 -> Clean Feature 3
Clean Feature 2
select 1 -> Clean Feature 1
select 3 -> Clean Feature 3
Clean Feature 3
select 2 -> Clean Feature 2
select 1 -> Clean Feature 1
Guide
timeout -> Idle Loop
bot selection -> Bot Selection
select clean -> Clean
select serve -> Serve
Guide Feature 1
select 2 -> Guide Feature 2
select 3 -> Guide Feature 3
Guide Feature 2
select 1 -> Guide Feature 1
select 3 -> Guide Feature 3
Guide Feature 3
select 2 -> Guide Feature 2
select 1 -> Guide Feature 1
Serve
timeout -> Idle Loop
bot selection -> Bot Selection
select clean -> Clean
select guide -> Guide
Serve Feature 1
select 2 -> Serve Feature 2
select 3 -> Serve Feature 3
Serve Feature 2
select 1 -> Serve Feature 1
select 3 -> Serve Feature 3
Serve Feature 3
select 2 -> Serve Feature 2
select 1 -> Serve Feature 1
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