[−][src]Module spacebattleship::game::uniform
Implementation of Battleship with uniform generic parameters, if not uniform board setups.
Structs
AddPlayerError | Error returned when trying to add a ship that already existed. |
Game | Handles gameplay. |
GameSetup | Handles setup for the game. Acts as a builder for |
ShotError | Error returned when trying to shoot a cell. |
Enums
CannotShootReason | Reason why a particular tile could not be shot. |
ShotOutcome | Result of a shot on a single player's board. |
Traits
PlayerId | Types used for the ID of a player. IDs are treated as disposable and cheaply
cloneable. If you need a complex ID type that isn't cheap to clone, you may want to
wrap it in |