FLAIROx / JaxMARL

Multi-Agent Reinforcement Learning with JAX
Apache License 2.0
393 stars 68 forks source link

Update smax_env.py #98

Closed syrkis closed 2 months ago

syrkis commented 2 months ago

Start positions are currently hard-coded to assume that the map_width and height is 32. If the map width is set to 128, the units will this start in the top-left corner.

Make team_0 and team_1 start y coordinates halfway up the map_height (instead of hard-coded 16). The x coordinate will be a fourth of the map_width, and three fourths of the map_width, respectively.

benellis3 commented 2 months ago

Thank you very much this is a good spot!