Last active
November 5, 2019 14:59
-
-
Save aaronschubert0/ef8ca8bca868a0ecbf615f78276dd726 to your computer and use it in GitHub Desktop.
FastBet
This file contains 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
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 |
This file contains 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