Skip to content

Commit 5d9336b

Browse files
committed
2 parents cc15f6c + 8dd7712 commit 5d9336b

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
__pycache__/
2+
*.egg-info/
3+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Multi-Agent Particle Environment
22

33
A simple multi-agent particle world with a continuous observation and discrete action space, along with some basic simulated physics.
4-
Used in the paper [Multi-Agent Actor-Critic for Mixed Cooperative-Competitive Environments](arxiv.org/pdf/1706.02275.pdf).
4+
Used in the paper [Multi-Agent Actor-Critic for Mixed Cooperative-Competitive Environments](https://arxiv.org/pdf/1706.02275.pdf).
55

66
## Getting started:
77

multiagent/scenarios/simple_crypto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def reset_world(self, world):
5252
agent.color = np.array([0.75, 0.25, 0.25])
5353
agent.key = None
5454
# random properties for landmarks
55-
color_list = [np.zeros(world.dim_c) for i in world.landmarks]
55+
color_list = [np.zeros(3) for i in world.landmarks]
5656
for i, color in enumerate(color_list):
5757
color[i] += 1
5858
for color, landmark in zip(color_list, world.landmarks):

0 commit comments

Comments
 (0)