@Cards-TS
    Preparing search index...
    • Generates the top level machine using the start / end states currently expected by the framework with game state transitions

      Type Parameters

      • T extends StatefulControllers

      Parameters

      • start: undefined | MachineLike<T>

        The logic to run once at the start of the game

      • loop: MachineLike<T>

        The logic to run the core of the game

      • end: undefined | ((controllers: T) => void)

        The logic to run at the end of the game

      Returns NestedMachine<T>

      The machine