#board-game #chess-board #square #traits #piece #rectangular #checkers

game_board

A rectangular game board of squares, for use in games like chess or checkers

1 stable release

1.0.1 Dec 8, 2024

#894 in Game dev


Used in simple_chess

MIT license

24KB
373 lines

Game Board

Overview

This crate provides a simple interface to a rectangular game board similar to chess or checkers.

Features

  • A board struct for a rectangular board of any size.
  • A square struct for the squares on the board.
  • A piece trait that can be extended to be placed on a square.

No runtime deps