Table of Contents - rb_battleship-1.0.1 Documentation
Classes and Modules
- Battleship
- Battleship::Coord
- Battleship::Coord::FactoryError
- Battleship::GamePlay
- Battleship::Grid
- Battleship::Grid::PlacingError
- Battleship::Player
- Battleship::Player::MissesError
- Battleship::Position
- Battleship::Position::CardinalError
- Battleship::Position::FactoryError
- Battleship::Ship
Methods
- ::call — Battleship::GamePlay
- ::factory — Battleship::Coord
- ::factory — Battleship::Grid
- ::factory — Battleship::Player
- ::factory — Battleship::Position
- ::large — Battleship::Ship
- ::new — Battleship::Coord
- ::new — Battleship::GamePlay
- ::new — Battleship::Grid
- ::new — Battleship::Player
- ::new — Battleship::Position
- ::new — Battleship::Ship
- ::orig — Battleship::Coord
- ::small — Battleship::Ship
- #<< — Battleship::Grid
- #<= — Battleship::Coord
- #== — Battleship::Coord
- #>= — Battleship::Coord
- #call — Battleship::GamePlay
- #check — Battleship::Position
- #damages — Battleship::Grid
- #fight — Battleship::GamePlay
- #footprint — Battleship::Grid
- #included? — Battleship::Grid
- #overlap? — Battleship::Grid
- #place — Battleship::Player
- #place — Battleship::Ship
- #play — Battleship::GamePlay
- #players — Battleship::GamePlay
- #purge! — Battleship::Grid
- #report — Battleship::Player
- #reset! — Battleship::GamePlay
- #reset! — Battleship::Player
- #round — Battleship::GamePlay
- #setup — Battleship::GamePlay
- #setup — Battleship::Player
- #shot — Battleship::Grid
- #shot — Battleship::Player
- #strike — Battleship::Ship
- #tip? — Battleship::Player
- #to_s — Battleship::Coord
- #to_s — Battleship::Grid
- #to_s — Battleship::Position
- #to_s — Battleship::Ship
- #valid? — Battleship::Grid
- #winner — Battleship::GamePlay
- #within? — Battleship::Grid