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

Add experiment video recording #53

Draft
wants to merge 16 commits into
base: master
Choose a base branch
from
Draft

Conversation

munichpavel
Copy link
Owner

@munichpavel munichpavel commented Apr 6, 2021

Closes #51

Changes

  • remove draw methods from clovek_ne_jezi_se/agents.py player classes, keep only in clovek_ne_jezi_se/game_state.py. The anticipated use case of showing a picture of the game state only makes sense for interactive play, and this need has nothing to do with drawing or not, but rather how the game state drawing is displayed.
  • Save experiment video as MLflow artifact based on boolean flag in config file (e.g."create_move=true").

I moved the draw method from the human player to the base player class.
Since I have a print_game_state attribute for every player with different
defaults (False for random, True for human), there is no reason for only
having the current draw method in subclasses.
@munichpavel munichpavel marked this pull request as draft April 6, 2021 13:25
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

Successfully merging this pull request may close these issues.

Add game recording
1 participant