• This function is used to shift blocks to the left most position on the grid

    Returns

    an array of blocks shifted to the left most position and the updated grid

    Parameters

    • blocks: Block[]

      array of blocks to shift to the left most position

    • grid: Grid

      grid represents the placement of the blocks

    Returns [Block[], Grid]

Generated using TypeDoc