Skip to content

Instantly share code, notes, and snippets.

@aaronschubert0
Last active November 5, 2019 14:59
Show Gist options
  • Save aaronschubert0/ef8ca8bca868a0ecbf615f78276dd726 to your computer and use it in GitHub Desktop.
Save aaronschubert0/ef8ca8bca868a0ecbf615f78276dd726 to your computer and use it in GitHub Desktop.
FastBet
FastBet
No Selections*
make a selection -> Fast Bet
Fast Bet
input valid wager amount -> Fast Bet valid Bet
input invalid wager amount -> Fast Bet invalid Bet
swipe to delete -> No Selections
make second selection -> BAB
pull down on pill -> BAB
remove current selection -> No Selections
Fast Bet valid Bet
place bet -> Fast Bet bet in progress
Fast Bet invalid Bet
change input text -> Fast Bet valid Bet
Fast Bet bet in progress
bet success -> Receipt Screen
bet failure -> Fast Bet invalid Bet
Receipt Screen
Done -> No Selections
Retain Selection -> BAB
BAB
Remove second selection -> Fast Bet
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