<p>You could try <a href="https://github.com/projectmesa/mesa" rel="nofollow noreferrer">Mesa</a>.</p>

<p>It has <a href="https://github.com/projectmesa/mesa/tree/master/examples" rel="nofollow noreferrer">various examples</a> that are commonly-used in agent-based modelling, like Epstein's model, a wolf/sheep predator/prey model, and many more.</p>

<p>There is also an <a href="http://mesa.readthedocs.io/en/latest/tutorials/intro_tutorial.html" rel="nofollow noreferrer">introductory tutorial</a>.</p>

CC BY-SA 4.0
2018-07-23T15:33:16.867Z
2018-07-23T15:33:16.867Z
Dennis Soemers
<p>For my pet project I’m looking for a grid-like world simulation with some kind of resources that requires from agent incrementally intelligent behaviour to survive.</p>

<p>Something like <a href="https://store.steampowered.com/app/396890/Gridworld/" rel="nofollow noreferrer">this steam game</a>, but with API.  I’ve seen <a href="https://github.com/Microsoft/malmo" rel="nofollow noreferrer">minecraft fork</a>, but it’s too complex for my task. There is <a href="https://github.com/deepmind/pycolab" rel="nofollow noreferrer">pycolab</a>, i can build some world on this engine, but I’d prefer ready-to-use simulations.</p>

<p>Is there any option? I'll appreciate any suggestion.</p>

<getting-started><software-evaluation>
Is there any opensource 2d open-world simulation with python API?
Kirill Fedyanin
# Is there any opensource 2d open-world simulation with python API?

(Asked by: username_0 on 2018-07-23)

For my pet project I’m looking for a grid-like world simulation with some kind of resources that requires from agent incrementally intelligent behaviour to survive.

Something like [this steam game](https://store.steampowered.com/app/396890/Gridworld/), but with API. I’ve seen [minecraft fork](https://github.com/Microsoft/malmo), but it’s too complex for my task. There is [pycolab](https://github.com/deepmind/pycolab), i can build some world on this engine, but I’d prefer ready-to-use simulations.

Is there any option? I'll appreciate any suggestion.

**Tags:** getting-started, software-evaluation


---

## 1 answers

### Answer by username_1 on 2018-07-23. Score: 2 | Accepted answer

You could try [Mesa](https://github.com/projectmesa/mesa).

It has [various examples](https://github.com/projectmesa/mesa/tree/master/examples) that are commonly-used in agent-based modelling, like Epstein's model, a wolf/sheep predator/prey model, and many more.

There is also an [introductory tutorial](http://mesa.readthedocs.io/en/latest/tutorials/intro_tutorial.html).


---

