Page 1 of 1

state change after each round

Posted: 22 February 2024, 16:42
by AxeCrazy
Goodday,
Working on a new game for educational reasons :)
If this game after each round the state should change
state 1 = place initial building
After eachplayer has done this
state 2 = play a hand card
after each player has done this (optionally change player order depending on card played)
state 3 = place additional building
after each player has done that -> goto state 2

Struggeling on have to get this in the state machine (or is there an other way to get this working?

Re: state change after each round

Posted: 22 February 2024, 20:34
by Tisaac
AxeCrazy wrote: 22 February 2024, 16:42 Goodday,
Working on a new game for educational reasons :)
If this game after each round the state should change
state 1 = place initial building
After eachplayer has done this
state 2 = play a hand card
after each player has done this (optionally change player order depending on card played)
state 3 = place additional building
after each player has done that -> goto state 2

Struggeling on have to get this in the state machine (or is there an other way to get this working?
Multiactive states are the way to go.

Re: state change after each round

Posted: 28 February 2024, 11:52
by LeSteffen
Yep, and here's a link for reference: https://en.doc.boardgamearena.com/Your_ ... ayer_state

Re: state change after each round

Posted: 29 February 2024, 11:15
by AxeCrazy
Thanx for your replies.
I got it working :D