Splendor-AI

Contents:

  • Installation of Splendor
  • Run the game
  • Developing an Agent
  • Generate The Documentation
  • Development
  • splendor
    • splendor package
      • Subpackages
        • splendor.agents package
        • splendor.splendor package
      • Submodules
      • splendor.game module
      • splendor.general_game_runner module
      • splendor.template module
      • splendor.utils module
      • splendor.version module
      • Module contents
  • Agents
Splendor-AI
  • splendor
  • splendor package
  • splendor.splendor package
  • splendor.splendor.gym package
  • View page source

splendor.splendor.gym package

Subpackages

  • splendor.splendor.gym.envs package
    • Submodules
    • splendor.splendor.gym.envs.actions module
      • Action
        • Action.collected_gems
        • Action.noble_index
        • Action.position
        • Action.returned_gems
        • Action.to_action_element()
        • Action.type_enum
      • ActionEnum
        • ActionEnum.BUY_AVAILABLE
        • ActionEnum.BUY_RESERVE
        • ActionEnum.COLLECT_DIFF
        • ActionEnum.COLLECT_SAME
        • ActionEnum.PASS
        • ActionEnum.RESERVE
      • CardPosition
        • CardPosition.card_index
        • CardPosition.reserved_index
        • CardPosition.tier
    • splendor.splendor.gym.envs.splendor_env module
      • SplendorEnv
        • SplendorEnv.get_legal_actions_mask()
        • SplendorEnv.render()
        • SplendorEnv.reset()
        • SplendorEnv.state
        • SplendorEnv.step()
        • SplendorEnv.turn
    • splendor.splendor.gym.envs.utils module
      • build_action()
      • create_action_mapping()
      • create_legal_actions_mask()
    • Module contents
      • SplendorEnv
        • SplendorEnv.get_legal_actions_mask()
        • SplendorEnv.render()
        • SplendorEnv.reset()
        • SplendorEnv.state
        • SplendorEnv.step()
        • SplendorEnv.turn

Module contents

Register SplendorEnv as one of gymnasium/gym environments.

Previous Next

© Copyright 2024, Eyal Royee.

Built with Sphinx using a theme provided by Read the Docs.