splendor package
Subpackages
- splendor.agents package
- splendor.splendor package
- Subpackages
- Submodules
- splendor.splendor.constants module
- splendor.splendor.features module
agent_buying_power()
agent_won()
build_array()
diminish_return()
extract_cards()
extract_metrics()
extract_metrics_with_cards()
extract_reserved_cards()
get_agent()
get_color_encoder()
get_indices_access_by_color()
get_yellow_gem_index()
missing_gems_to_card()
normalize_metrics()
turns_made_by_agent()
turns_to_buy_card()
vectorize_card()
- splendor.splendor.splendor_displayer module
- splendor.splendor.splendor_model module
Card
SplendorGameRule
SplendorGameRule.calScore()
SplendorGameRule.gameEnds()
SplendorGameRule.generatePredecessor()
SplendorGameRule.generateSuccessor()
SplendorGameRule.generate_return_combos()
SplendorGameRule.getLegalActions()
SplendorGameRule.initialGameState()
SplendorGameRule.noble_visit()
SplendorGameRule.resources_sufficient()
SplendorState
- splendor.splendor.splendor_utils module
- splendor.splendor.types module
- splendor.splendor.utils module
- Module contents
Submodules
splendor.game module
splendor.general_game_runner module
- splendor.general_game_runner.get_commit_time(repo: Repo)[source]
Returns the commit time based on the TIMEZONE
- Parameters:
repo – the repository
- Returns:
the commit time
- splendor.general_game_runner.loadParameter()[source]
Processes the command used to run Yinsh from the command line.
splendor.template module
splendor.utils module
splendor.version module
Version retrieval utility.