Module gorrosion::core::board

source ·
Expand description

Go is a board game. While it is usually played on a rectangular board with a very specific structure, it can theoretically be played on a wide variety of (undirected) graphs. This module provides a suitable interface which allows the rules to be evaluated without knowledge of the exact board layout.

Structs

The most generic board: A graph. All other boards could theoretically be implemented using this as a basis.
Rectangular boards with the classical line pattern.

Traits

This trait captures the information needed to play Go on a board.