2 stable releases
| 1.0.1 | Aug 31, 2025 |
|---|---|
| 1.0.0 | Aug 30, 2025 |
#344 in Games
81 downloads per month
Used in go_game_board
9KB
206 lines
Go Game Types
A Rust library providing core type definitions for the game of Go.
Intent
This library is designed to facilitate easy and performant collaboration between various Go game libraries by providing a shared set of fundamental types. By using common type definitions, different Go libraries can interoperate seamlessly without conversion overhead.
Types
This library exports the following types:
Player- Represents a player in the game (Black or White)Color- Represents the color of a stone on the boardVertex- Represents a position on the Go board
To import the types you need:
use go_game_types::{Player, Color, Vertex};