Introduction to Mesa

Rather than implementing our various models from scratch using numpy, we will use the Mesa library. Mesa is a Python library for agent-based modelling. It is designed to be modular, so you can use as much or as little of it as you like. It is also designed to be easy to use, so you can get a model up and running quickly.

We will start by implementing the Game of Life model using Mesa and compare it to our previous implementation in numpy.

And a page that contains code snippets that I used in the implementation of the Game of Life model and other models.