alexobviously / bishop

A chess logic package for Dart with flexible variant support
https://pub.dev/packages/bishop
Other
19 stars 8 forks source link

set BishopState in game #81

Open govind-maheshwari2 opened 5 months ago

govind-maheshwari2 commented 5 months ago

I wanted to load bishopState from history and start game from that point. I have searched a lot but unable to figure out how to load game from state.

alexobviously commented 5 months ago

You mean you have a BishopState object and you want to initialise a new Game starting from that state, right? It's not supported at the moment, but if you want it, I can add it. Shouldn't be too difficult (famous last words).

I'm curious about what your use case is, you want to serialise the state or something like that?

govind-maheshwari2 commented 5 months ago

I want user to navigate at any previous move and continue game from that point directly.

govind-maheshwari2 commented 3 months ago

Hey @alexobviously any update on this?