#board #square #rectangular #chess #piece #board-game #struct

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

#3 in #rectangular

Download history 114/week @ 2024-12-02 141/week @ 2024-12-09

255 downloads per month
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