Skip to content

Yary integration#196

Closed
yribero wants to merge 2 commits into
mainfrom
yary-integration
Closed

Yary integration#196
yribero wants to merge 2 commits into
mainfrom
yary-integration

Conversation

@yribero
Copy link
Copy Markdown
Collaborator

@yribero yribero commented Jun 4, 2026

Changes needed to allow the ibex game suite to run a prisoner's dilemma game with a persona

else:
choice = json.loads(response)["choice"]
return {
"meta": {"type": "submit-choice", "component": {"type": "standard:coordination"}},
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yribero how are the current standard messages used by the game server?

I think we should align econagents to the server so that no custom parsers are required.

self.game_id = game_id
self.register_phase_handler("introduction", self._handle_introduction)

async def _handle_introduction(self, phase: str, state: GameState) -> dict:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yribero same here. We should make this part of the usual game init process in econagents as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants