crow/board

Types

pub opaque type Board

Functions

pub fn all(board: Board) -> Map(Coordinate, Check)
pub fn deploy(board: Board, position: Coordinate, player: Player, facing: Coordinate, piece: Piece) -> Board
pub fn get(board: Board, position: Coordinate) -> Check
pub fn move(board: Board, from: Coordinate, to: Coordinate) -> Board
pub fn new() -> Board
Search Document