johnameyer / cards-ts

A card game framework and various games in Typescript. The framework allows for bot development and playing card games in the terminal or in a browser.
6 stars 2 forks source link

Game state serialization #11

Closed johnameyer closed 4 years ago

johnameyer commented 4 years ago

While most of the state is now in a form that is serializable, the part tied up in the game driver async/generator is not. Some sort of state machine should be created to allow this to be preserved.

johnameyer commented 4 years ago

State machine made serializable in 593bae72ac454db85ca7b054d482143dda157a81