-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turn like play order within a stage? #1017
Comments
You can use the setActivePlayers({
value: { '0': 'bonus' },
next: {
value: { '1': 'bonus' },
next: {
// etc.
},
},
}); So in this example, when player This nested setActivePlayers([
{ value: { '0': 'bonus' } },
{ value: { '1': 'bonus' } },
]); |
I didn't realize that nested |
Yeah exactly. That's the kind of scenario #478 is looking to make easier by providing a helper method for generating those sequences. |
I’ll close this as a duplicate of #478, but feel free to re-open if you think there’s something here that isn’t covered in that issue. |
In my game, the main portion is played concurrently by all players. This is achieved by setting
all
players in the mainstage
where they can carry out their moves. When a turn is coming to an end, bonus moves (defined in a bonusstage
) can be made once per turn for eligible player. These actions should be carried out in sequence with the player closes to thecurrentPlayer
going first.Is it possible to get a turn like play order for the bonus stage? I know this can be solved by using phases and turns, but conceptually it all happens within a turn so it would be fitting to model it as such.
The text was updated successfully, but these errors were encountered: