[][src]Crate thud

thud is a crate for hosting a game of Thud.

Getting Started

To get started, take a look at the Thud struct.

serialize feature

The library supports serialising and deserialising all types using serde when this feature is enabled.

Structs

Board

A configuration of Thud Pieces on a Thud board

Coord

Checked container for a coordinate to address into a Board

Thud

Stores the current state of a game of Thud

Enums

Direction

A cardinal direction on a Board

EndState

What victory condition a Thud game is in once it has ended

Piece

A piece on the Thud Board

Player

One of the two Thud players

ThudError

Reports invalid action