Basic tutorial

The tutorial shows how to create a simple simulation known as Conway’s Game of Life. This is a cellular automaton using time-step simulation and only one agent type.

In the first step we’ll be building an agent. This agent represents a cell and changes its state depending on the states of its neighbors. Cells communicate their actual state by messages.

Second, we create a root domain, add agents to it and connect them. In this way we create a grid model.

Finally, we can run the simulation with the model we just built.

This simple simulation will look like this:

Simulation model of Convay's Game of Life
Simulation model of Conway’s Game of Life

Let’s start on how to build a simple agent.