CamundaCon 2023 ― The Process Orchestration Conference of the Year on Sep 27-28

Save your Seat

Conway’s game of life

  • Blog
  • >
  • Conway’s game of life

30 Day Free Trial

Bring together legacy systems, RPA bots, microservices and more with Camunda Platform 8

Join the Camunda Developer Newsletter

Get the latest events, release notes, and product updates straight to your mailbox.


The holidays are upon us, time for a lighter kind of blog post: Conways’s game of life on a Raspberry Pi.

Conways game of life can be modelled by the following bpmn and dmn:

Conway's game of life modeled with DMN

In order to see what is happening the Raspberry Pi was hooked up to a 8×8 LED matrix (can be bought e.g at Adafruit together with the Raspberry Pi 3, breadboard and jumper wires).

Raspberrry Pi and the LED matrix

The LED matrix is driven by a simple program written in Go that receives the information which LED to light or dim through a socket connection from the Camunda engine.

The final result can be seen below:

Video showing Conway’s game of life in action

The process accepts three parameters: rows, cols, density and duration. The number of rows and columns are standard set at 40, the density at 0.5 (the initial field is randomly initialized with half of the cells alive) and the duration at PT1S (1 second timer).

The unit test does 10 cycles before terminating and simulates a so called glider which can be seen moving in the console or log.

The source can be found here.

Happy holidays and feel free to ask questions!

This is a guest post by Casper Biever.

Try All Features of Camunda Platform

Related Content

Why Camunda Platform 8? Learn how real estate invester Heimstaden utilizes Camunda 8 to orchestrate their tenant support ticketing system.
We've relaunched our Professional plan as the Starter plan with an updated offering and a new monthly price to help you get started faster.
Did you know that you can keep your process instances moving with Operate? Learn how in this tutorial.