#chess #chess-board #checker #struct #traits #games

game_board

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

4 stable releases

1.0.5 Dec 1, 2025
1.0.3 Mar 31, 2025
1.0.2 Mar 27, 2025
1.0.1 Dec 8, 2024

#1737 in Game dev


Used in simple_chess

MIT license

26KB
392 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