1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
//! This is the documentation for the `lib-battleship` crate. //! //! It implements the core logic for every game of battleship. pub use self::game::Game; pub use self::pregame::PreGame; pub mod common; pub mod results; mod battlefield; mod game; mod pregame; /// Dimension type for battleship. pub type Dimension = usize; /// The type of ship type IDs. pub type ShipTypeId = usize;