Structures

The following structures are available globally.

  • A class that represents a chess board with pieces.

    See more

    Declaration

    Swift

    public struct Board : Hashable
  • Square on Board.

    See more

    Declaration

    Swift

    public struct Square : Hashable
    extension Square: CustomStringConvertible
  • Represents move on board.

    See more

    Declaration

    Swift

    public struct Move : CustomStringConvertible, Hashable
  • Piece on Board with it’s color.

    See more

    Declaration

    Swift

    public struct Piece : Hashable, CustomStringConvertible
  • Game position.

    See more

    Declaration

    Swift

    public struct Position : Hashable