Logic
Map the player journey as screens, events, decisions and connections. Logic explains when a game enters a feature, shows a win, waits for input or returns to the base game.
Build and review a flow
- Configure the game and enabled features in Game design.
- Open Logic and inspect the generated graph.
- Add nodes from the palette; drag them to position them.
- Connect a node’s output port to another node’s input port.
- Select nodes and connections to edit their properties.
- Use Simulate to step through transitions, then export the flow for review.
Auto-fill replaces the active flow with a graph rebuilt from the project settings after confirmation. Save a checkpoint before using it on a hand-edited graph. Re-layout changes the arrangement; Fit brings the graph into view.
Node reference
| Node | Purpose |
|---|---|
| Screen | A visible state such as Splash, Base Game or a bonus screen. |
| Event | A trigger or game event. |
| Decision | A branch controlled by a condition. |
| Action | Player input or a UI action. |
| Win | A win-presentation state. |
| System | Session start, loading or session end. |
| RNG | The point where an external random result is required. |
| Math | An evaluation or formula in the design. |
| Animation | A timed presentation with duration and skip settings. |
| Compliance | A regulatory display with jurisdiction and timing notes. |
Labels orient reviewers; notes explain the rule precisely. For example, name the trigger symbol, count, eligible reels and whether the condition means exactly or at least that count. A node labelled RNG does not configure or certify a random-number generator.
Conditions, triggers and actions
Select a connection to set its label, trigger type, priority, optional probability and condition. Lower priority numbers are considered first. Trigger types include Auto, User Action, Timer / Delay and Condition Gate.
Conditions compare a state field with a value using equality or numeric operators. Compound conditions can combine rules with AND, OR and NOT. Nodes can carry entry and exit actions to update the simulator’s state. These are authored flow rules; they are not a wallet or payout service.
Use explicit completion signals when a branch waits for an external outcome. A text label such as “three Scatters” is useful documentation but is not a substitute for structured trigger rules in gameplay.
Simulate the flow
Choose Simulate, inspect the current state and advance step by step. Change the relevant test values to exercise both passing and failing conditions. Check that the flow can leave every feature and return to the intended base state.
The Logic simulator tests graph transitions and state actions. It is separate from Flow’s Spin Simulator and the beta Game Preview. It does not automatically combine all feature controllers, math, sound and animation into a finished game.
Multiple flows
Use the flow tabs for separate journeys, such as a main game and a detailed bonus flow. Each has its own nodes, connections and layout. Name them for the reader who will implement or review them. Deleting a flow is a separate action from removing one node.
Canvas controls
| Action | Control |
|---|---|
| Add a node | Click a palette item or double-click empty canvas. |
| Move a node | Drag it. |
| Connect nodes | Drag from output port to input port. |
| Pan | Drag empty canvas; Alt-drag also pans. |
| Zoom | Scroll over the graph. |
| Fit | F or Fit. |
| Remove selection | Delete or Backspace. |
Use descriptive labels and keep related feature nodes together. Review trigger, entry, active, exit and return paths rather than only the successful path.
Handoff
Export Flow as JSON preserves the structured graph. The Export page also offers a vector Flow diagram, a Flow presentation PDF and a Logic spec in Markdown. The Logic spec includes saved conditions, priorities, delays and reference evaluation text.
Reference pseudocode is guidance for implementation. Read it alongside the Math spec and the export guide; unsupported evaluation modes and missing rules still need engineering decisions.