Skip to content

Instantly share code, notes, and snippets.

@jhcheung
Created June 22, 2020 03:51
Show Gist options
  • Save jhcheung/0b3ca5a4c009c315b5931d1de12a23bc to your computer and use it in GitHub Desktop.
Save jhcheung/0b3ca5a4c009c315b5931d1de12a23bc to your computer and use it in GitHub Desktop.
setActivePlayers
setActivePlayers({
currentPlayer: 'stage-name',
others: 'stage-name'
all: 'stage-name'
value: {
'0': 'stage-name',
'1': 'stage-name',
...
},
moveLimit: 5,
revert: true,
next: { ... },
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment