layout | title | actions | agents | manual-control | action-shape | action-values | observation-shape | observation-values | import | agent-labels |
---|---|---|---|---|---|---|---|---|---|---|
docu |
Basketball Pong |
Discrete |
2 |
No |
(1,) |
[0,17] |
(210, 160, 3) |
(0,255) |
from pettingzoo.atari import basketball_pong_v1 |
agents= ['first_0', 'second_0'] |
{% include info_box.md %}
A competitive game of control.
Try to get the ball in your opponents hoop. But you cannot move on their side of the court. Scoring a point also gives your opponent -1 reward.
Official Video Olympics manual
Some environment parameters are common to all Atari environments and are described in the base Atari documentation.
Parameters specific to Basketball_Pong are
basketball_pong.env(num_players=2)
num_players
: Number of players (must be either 2 or 4)