End Conditions

1 min read

Games end when certain conditions are fulfilled: a player reaches a certain goal, time runs out or all players but one are eliminated.

Tip

The End condition button in the toolbarThe End condition button in the toolbarEnd Conditions (E) are used to end a game when any of its end conditions is met. They only accept State Connections as input.

Properties

Unlike other Nodes in Machinations, End Conditions do not have a Trigger or a Direction. Select one and the Properties panel on the right shows only its label and a note. Color and line width are on the floating toolbar above the node.

End Condition properties panel with the node type, an Add a label line, an Add a note line, the Behavior summary and a collapsed End condition node essentials card.End Condition properties panel with the node type, an Add a label line, an Add a note line, the Behavior summary and a collapsed End condition node essentials card.
Note

Machinations checks the End Conditions in a diagram at each time step and stops running immediately when any End Condition is fulfilled. If you have multiple End Conditions in a diagram, it will stop running as soon as any one of the End Conditions is met. 

Please take a look at the example diagram below.

End Conditions must be activated by a State Connection. In this case, the Formulas on the State Connections are used to specify the end state of the game.