You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Selection stage can save the board after this is called
ApplyAction(ValidActionHelper const* = nullptr)
Requirement
No overhead. Keep the simulation quick.
Notes
Even in selection stage, the board after 'PrepareValidActions()' is not saved in memory
Only save the BoardView
Since there's hidden information, a determination phase runs before each episode. So even the board is saved, we will not run that exactly board at following episodes.
But, in fact, the hidden information should get nothing to do with the prepare action.
So, maybe the valid action helper should not be implemented within the state::State. It should be related to BoardView.
The text was updated successfully, but these errors were encountered:
It makes logic too complicated if we want to enforce the constant-state at compile time
If we just leave it as a mandatory, things might blow up after a long-term maintenance
Could we made the game state to be copy-on-write?
Make things copy-on-write
Investigate which fields are possibly changed for an invalid action
Refines on state::State:
Requirement
Notes
The text was updated successfully, but these errors were encountered: