splendor.agents.our_agents package

Subpackages

Submodules

splendor.agents.our_agents.minmax module

Implementation of an agent that selects the first legal action.

class splendor.agents.our_agents.minmax.MiniMaxAgent(_id)[source]

Bases: Agent

A Minimax agent, utilizing the zero-sum property of the game, there is only a single winner in each game, for determining which action to play.

SelectAction(actions: list[CollectAction | ReserveAction | BuyAction], game_state: SplendorState, game_rule: SplendorGameRule) CollectAction | ReserveAction | BuyAction[source]
splendor.agents.our_agents.minmax.myAgent

alias of MiniMaxAgent

Module contents