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

Improve and test history API #28

Open
donbonifacio opened this issue Mar 2, 2016 · 0 comments
Open

Improve and test history API #28

donbonifacio opened this issue Mar 2, 2016 · 0 comments

Comments

@donbonifacio
Copy link
Contributor

The text serializer (#27) introduced the history concept. Each time a turn is processed, the raw turn actions will be stored in a :history key on the game.

We need a proper API on the game for handling the history, and also unit tests. We need:

  • Get the history from the game
  • Register turn actions
  • Write unit tests
  • Given a game, get the game on a specific state: beginning, end, turn X
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

2 participants