yasuki_core.engine.rules.agents.Agent#
- class Agent(*args, **kwargs)[source]#
Answers a
DecisionRequestwith aDecisionResponse.The human UI, the AI, a network peer, and test doubles are all Agents, so the engine never cares who answers a decision (KD3). A bot answers synchronously here; the human UI instead presents the request and submits the answer through the session when the player acts.
Methods
Agent.__init__(*args, **kwargs)Agent.decide(request, view)