5,407,047 AI resources indexedWorking toward the world’s largest AI resource index.

PettingZoo Pistonball

A cooperative physics benchmark where agents control pistons to move a ball across the screen.

Published by Farama Foundation

PDF
No ratings yet

Setup and evaluation

Each piston acts as an agent, so the team has to coordinate individual movements to advance the same ball. Use it to study team policies and keep the observation and action configuration fixed when comparing runs.

Install with pip install 'pettingzoo[butterfly]' and import pistonball_v6 from pettingzoo.butterfly. Use pistonball_v6.parallel_env() for a simultaneous-action loop.

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