| Crates.io | go_game_types |
| lib.rs | go_game_types |
| version | 1.0.1 |
| created_at | 2025-08-30 20:39:54.067752+00 |
| updated_at | 2025-08-31 15:09:29.480234+00 |
| description | Core type definitions for Go game libraries |
| homepage | |
| repository | https://github.com/lukaszlew/go_game_types |
| max_upload_size | |
| id | 1817927 |
| size | 20,349 |
A Rust library providing core type definitions for the game of Go.
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.
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 boardTo import the types you need:
use go_game_types::{Player, Color, Vertex};