[−][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
.
Extra Features
feature = "serialize"
The library supports serialising and deserialising all types using
serde
when this feature is enabled.
feature = "ffi"
Enables the ffi
module to allow the shared object generated by the library to
be called into C-style.
See the module documentation for more details.
Structs
Board | A configuration of Thud |
Coord | Checked container for a coordinate to address into a |
Thud | Stores the current state of a game of Thud |
Enums
Direction | A cardinal direction on a |
EndState | What victory condition a |
Piece | A piece on the Thud |
Player | One of the two Thud players |
ThudError | Reports invalid action |