crow/board/check

Types

pub type Check {
  Check(
    player: Player,
    piece: Piece,
    paths: List(Path),
    facing_direction: Coordinate,
  )
}

Constructors

  • Check(
      player: Player,
      piece: Piece,
      paths: List(Path),
      facing_direction: Coordinate,
    )

Functions

pub fn new(player: Player, piece: Piece, facing_direction: Coordinate) -> Check
Search Document