Crate lib_battleship [] [src]

This is the documentation for the lib-battleship crate.

It implements the core logic for every game of battleship.

Modules

common

Common types, functions, etc.

results

Result types for all operations that can fail.

Structs

Game

Struct representing a running game of battleship.

PreGame

Builder type for a game of battleship.

Type Definitions

Dimension

Dimension type for battleship.

ShipTypeId

The type of ship type IDs.