Chess game
This example demonstrates a multi-agent system implementing an interactive chess game.
Prerequisites
cd examples/aip_chess_game
Setup and Running
Start Game Moderator
export MEMBASE_ID="<moderator_id>"
export MEMBASE_ACCOUNT="<membase account>"
export MEMBASE_SECRET_KEY="<membase secret key>"
export MEMBASE_TASK_ID="<task id>"
uv run main.py
Start Players The game begins when both black and white players are connected.
export MEMBASE_ID="<player_uuid>"
export MEMBASE_ACCOUNT="<membase account>"
export MEMBASE_SECRET_KEY="<membase secret key>"
export MEMBASE_TASK_ID="<above_task_id>"
uv run role.py --moderator=<above_moderator_id>
Launch Web Interface To view the chess board in your browser:
uv run app.py # Access at http://localhost:5000
Last updated