go_game_types 1.0.1

Core type definitions for Go game libraries
Documentation
  • Coverage
  • 0%
    0 out of 11 items documented0 out of 0 items with examples
  • Size
  • Source code size: 20.34 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 497.31 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • lukaszlew/go_game_types
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • lukaszlew

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 board
  • Vertex - Represents a position on the Go board

To import the types you need:

use go_game_types::{Player, Color, Vertex};