src.dcss.agent.base

Module Contents

Classes

BaseAgent

class src.dcss.agent.base.BaseAgent
abstract get_action(gamestate: dcss.state.game.GameState)
requesting_start_new_game()

This function enables the agent class to decide to start a new game. By default this is false, and subclasses of BaseAgent should implement this function to return True whenever a new game should begin. This function is especially helpful when you have some arbitrary criteria for which you want an agent to stop.