Crate game_board

Source

Structs§

Board
Represents a game board that holds pieces of a certain type.
Square
Represents a square on a simple_chess board.

Enums§

SquareColor

Functions§

get_column_and_row_from_square_name
Converts a simple_chess-style coordinate string to a given column and row.
get_square_name_from_row_and_col
Converts a given column and row to a simple_chess-style coordinate string.