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
const machine = Machine({ | |
id: "Main Navigation - Deep", | |
meta: { description: "5 pages with dedicated buttons" }, | |
initial: "YourTOUR", | |
states: { | |
YourTOUR: {}, | |
Discover: { | |
initial: "News", | |
states: { |
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
var TournamentStatus; | |
(function (TournamentStatus) { | |
TournamentStatus["INACTIVE"] = "Inactive"; | |
TournamentStatus["SCHEDULED"] = "Scheduled"; | |
TournamentStatus["GROUPINGS_OFFICIAL"] = "Groupings Official"; | |
TournamentStatus["IN_PROGRESS"] = "In Progress"; | |
TournamentStatus["IN_PLAYOFF"] = "In Playoff"; | |
TournamentStatus["DELAY"] = "Delay"; | |
TournamentStatus["FINAL"] = "Final"; | |
TournamentStatus["ARCHIVED"] = "Archived"; |
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
const machine = Machine({ | |
id: "Odds Navigation", | |
initial: "Unavailable", | |
states: { | |
Unavailable: {}, | |
"To Win": {}, | |
Matchups: { | |
initial: "3 Ball – DHR – R1", | |
states: { | |
"3 Ball – DHR – R1": {}, |
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
const machine = Machine({ | |
id: "Main Navigation - Top 2 Levels", | |
meta: { description: "5 pages with dedicated buttons" }, | |
initial: "YourTOUR", | |
states: { | |
YourTOUR: {}, | |
Discover: { | |
initial: "News", | |
states: { | |
News: {}, |
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
const machine = Machine({ | |
id: "Leaderboard Navigation - Top 2 Levels", | |
initial: "Leaderboard", | |
states: { | |
Leaderboard: { | |
type: "parallel", | |
states: { | |
"[A Pro Tournament]": {}, | |
"[A Pro-Am Tournament]": { | |
initial: "Pro", |
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
const machine = Machine({ | |
id: "Main Navigation - Deep", | |
meta: { description: "5 pages with dedicated buttons" }, | |
initial: "YourTOUR", | |
states: { | |
YourTOUR: {}, | |
Discover: { | |
initial: "News", | |
states: { | |
News: {}, |
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
/* | |
TODO: | |
- LIVE status | |
- Pre and Post statuses | |
x delay notice (in context) | |
x switch category, e.g. Pro-Am | |
x loading data | |
x update data | |
x change sort direction | |
x change sort column |
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
const machine = Machine({ | |
id: 'Distracted Meme', | |
type: 'parallel', | |
states: { | |
boyfriend: { | |
initial: 'listening', | |
states: { | |
listening: { | |
on: { | |
'SEES RED DRESS': 'distracted' |
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
const machine = Machine({ | |
id: 'DRAKE', | |
initial: 'displeased', | |
states: { | |
displeased: { | |
on: { | |
'SEES BETTER OPTION': 'pleased' | |
}, | |
}, | |
pleased: {}, |
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
const randomRange = (min, max) => | |
min + Math.random() * (max - min); | |
const machine = Machine( | |
{ | |
id: "Round as Individual Player", | |
type: "parallel", | |
states: { | |
"Player 1": { | |
id: "P1", |