Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement pickling for GameState #342

Open
smallnamespace opened this issue Apr 21, 2016 · 4 comments
Open

Implement pickling for GameState #342

smallnamespace opened this issue Apr 21, 2016 · 4 comments

Comments

@smallnamespace
Copy link
Collaborator

Last time I tried, pickle errored out when trying to serialize a GameState.

Pickling is necessary if anyone wants to ship a state over the wire, etc., and might also be the fastest route to writing a fast __deepcopy__

@jleclanche
Copy link
Owner

More generally I'd like to support a more streamlined gamestate (eg. tag-oriented or some such). Less magic attributes.

@smallnamespace
Copy link
Collaborator Author

So you'd like it to look more like an entity?

@cdennison
Copy link

What's the current status on this? It looks there's already a game state to entity function under utils. Is this lacking in some way?

@jleclanche
Copy link
Owner

@cdennison I have a plan I've been trying to discuss with a couple of people who are interested working on it. If you're interested as well, hop in #hearthsim and ping me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants