Lets say I have a player state "playerTurn", but sometimes the decision player would make either the only
possible one or trivial, in this case I want to automatically transition to next state with decision is made on behalf
of player to speed up the game. Example: in that state player may choose to trade 3 stone for 1 VP, but he does not have enough stone,
so there is no really point asking this specific player.
Yes I can make a game state instead but it would complicate state machine a lot (considering its not the only
one state case).
I used to handle it by java script but it has its own problems: player has to have client running to transition, and during game
replay it hits server with actions which not suppose to happened. Is there a clean way to achieve what I want with client
following proper state transitions?
possible one or trivial, in this case I want to automatically transition to next state with decision is made on behalf
of player to speed up the game. Example: in that state player may choose to trade 3 stone for 1 VP, but he does not have enough stone,
so there is no really point asking this specific player.
Yes I can make a game state instead but it would complicate state machine a lot (considering its not the only
one state case).
I used to handle it by java script but it has its own problems: player has to have client running to transition, and during game
replay it hits server with actions which not suppose to happened. Is there a clean way to achieve what I want with client
following proper state transitions?