5,370,015 AI resources indexedWorking toward the world’s largest AI resource index.

PettingZoo Chess

A two-player chess environment for testing legal-action handling and strategic policies.

Published by Farama Foundation

PDF
No ratings yet

Setup and evaluation

Use the supplied action mask when selecting moves. Evaluate each policy from both colors and report wins, losses, and draws against a consistent opponent.

Install with pip install "pettingzoo[classic]", import chess_v6 from pettingzoo.classic, and instantiate chess_v6.env().

Framework
PettingZoo
Access
Local PettingZoo environment. No account required.
Official setup and documentation