Metadata-Version: 2.1
Name: Marl-Neon-Grid
Version: 0.1.4.3
Summary: A collection of MARL gridworlds to study coordination and cooperation.
Home-page: https://github.com/romue404/marl-neon-grid
Author: Robert Müller
Author-email: robert.mueller1990@googlemail.com
License: MIT
Keywords: artificial intelligence,pytorch,multiagent reinforcement learning,simulation
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# 🦩🌴 MARL-Neon-Grid

A collection of MARL gridworlds to study coordination and cooperation that follows the 
[Gymnasium](https://github.com/Farama-Foundation/Gymnasium) interface.

## Setup
Simply run:
```pip install marl-neon-grid```

## Example
```py
from marl_neon_grid import FoodNAgents

n_agents = 2
gw = FoodNAgents(n_agents=n_agents, n_food=8, max_steps=128, agents_must_coordinate=False)

for t in range(100):  # simulate 100 episodes
    observations = gw.reset()
    dones = [False] * n_agents
    while not all(dones):
        gw.render()  # render with pygame
                                             # perform random actions
        observations, rewards, dones, info = gw.step([gw.action_space.sample(), 
                                                      gw.action_space.sample()])  
        # observations, rewards, dones are lists where each entry i belongs to agent i.


```

## Environments
![Examples](examples.png)
### 🚧 Under construction ...
