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

Game object creation improvements #33

Open
3 of 4 tasks
michaeljb opened this issue Dec 24, 2020 · 1 comment
Open
3 of 4 tasks

Game object creation improvements #33

michaeljb opened this issue Dec 24, 2020 · 1 comment

Comments

@michaeljb
Copy link
Owner

michaeljb commented Dec 24, 2020

  • Game.load_from_json - take a path to json file, json string, or parsed json hash
  • Game.load_from_db - take a db Game model
  • action cursor param, and method to process through some action -- if going forward, now no need to create a new game object
  • when an exception is hit, stop the action cursor, set @exception; allows for better inspection of failed game
@michaeljb
Copy link
Owner Author

michaeljb commented Dec 28, 2020

Game results in JSON data should use player IDs instead of player names

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

No branches or pull requests

1 participant