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

Come up with a game serialization format #50

Open
eaceaser opened this issue Mar 6, 2019 · 1 comment
Open

Come up with a game serialization format #50

eaceaser opened this issue Mar 6, 2019 · 1 comment

Comments

@eaceaser
Copy link
Contributor

eaceaser commented Mar 6, 2019

we need a serialization format for game state in the DB. I wonder if it makes sense to just use SGF? Parsing it is probably a pain tho. So in that case, we probably want to come up with another serialization format.

We could also possible have to serialization formats:

  1. One which contains game history and branching. This one is closer to SGF.
  2. One which contains just the live state of a game, used for playing and recovering game state.
@eaceaser
Copy link
Contributor Author

eaceaser commented Mar 7, 2019

For live games, storing a serialized move list (either in redis or the DB) would be sufficient.

For completed games and reviews, we'll need a serialization format with branching and the like.

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

1 participant