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
I'm using overrideGameState() to load a game from a specific saved state for testing, loading etc. This is SPA client only game, so no state is stored outside of the browser.
Ideally this is as simple as:
client.overrideGameState(savedState)
However, internally this does not seem to call createDispatchers, because the client does not let me make a move that is only on a specific state. Insteead I get "ERROR: disallowed move: continue(my movecontinue`) is only on the phase I load not the intial phase.
This makes overrideGameState unusable if using phases.
The text was updated successfully, but these errors were encountered:
I'm using
overrideGameState()
to load a game from a specific saved state for testing, loading etc. This is SPA client only game, so no state is stored outside of the browser.Ideally this is as simple as:
However, internally this does not seem to call
createDispatchers
, because the client does not let me make a move that is only on a specific state. Insteead I get "ERROR: disallowed move: continue(my move
continue`) is only on the phase I load not the intial phase.This makes
overrideGameState
unusable if using phases.The text was updated successfully, but these errors were encountered: