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

Update game logic and error handling in spiel.py #230

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 7, 2024

  1. Update game logic and error handling in spiel.py

    The commit introduces a new function, `get_observation_tensor_shape(game: Game) -> Tuple`, which handles game observation dimensions and improves error handling in this respect. The game in play was switched from tic_tac_toe to backgammon. Moreover, the error handling for the method `self.board.rewards()` was improved to prevent a loss of the entire operation when an exception is catched.
    Łukasz Kujawski committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    a70f50d View commit details
    Browse the repository at this point in the history