Modelling advice for variable number of participants

In order to learn Camunda, I wan’t to implement a simple board game as an exercise, but I am struggling to get started because I am unsure how to model a fairly simple usecase.

The game can be played by 2-5 players.
One player creates game.
That player automatically joins game.
Other players joins the game.
Each player in the game convey they are ready to start.
When all players are ready the game is started.
Sometimes players may leave game before it is started.

Can anyone explain how they’d go about modelling something like this?

Hey @jhhdk! Welcome to the Camunda Community!
I have done something similar not too long ago for CamundaCon. Take a look at this repository:

If you rather prefer to watch the video from Camunda Con you can check it out here:

To get started with Camunda, I would recommend using our guides or the Camunda Academy. I think this is a bit easier and better structured for beginners. :slight_smile:

Hopefully this is helpful for you!
Best,
Thomas

Thank you for your reply, though it regrettably didn’t clear up my confusion.
What I am struggling with is how to model each individual player like whether i’d need something like dynamic number of lanes in my model or something or maybe build separate models for 2,3,4 and 5 player games respectively.