Interface CreateChildNodeFunc<GS, M, D>

Type Parameters

  • GS

  • M

  • D

Hierarchy

  • CreateChildNodeFunc
  • Callback for creating a Node from a parent and a move Function should clone gamestate, apply move

    See

    Example implementation

    Returns

    Child node

    Parameters

    • parent: Node<GS, M, D>

      Parent node to create child from

    • move: M

      Move used to create child

    Returns Node<GS, M, D>

Generated using TypeDoc