Module: BattleBoats
- Defined in:
- lib/battle_boats.rb,
lib/battle_boats/cell.rb,
lib/battle_boats/ship.rb,
lib/battle_boats/board.rb,
lib/battle_boats/fleet.rb,
lib/battle_boats/engine.rb,
lib/battle_boats/version.rb,
lib/battle_boats/colorize.rb,
lib/battle_boats/null_ship.rb,
lib/battle_boats/console_ui.rb,
lib/battle_boats/coordinate.rb
Defined Under Namespace
Modules: Colorize Classes: Board, Cell, ConsoleUI, Coordinate, Engine, NullShip, Ship
Constant Summary collapse
- FLEET =
[ BattleBoats::Ship.new(name: "Carrier", length: 5, symbol: "C"), BattleBoats::Ship.new(name: "Battleship", length: 4, symbol: "B"), BattleBoats::Ship.new(name: "Cruiser", length: 3, symbol: "R"), BattleBoats::Ship.new(name: "Submarine", length: 3, symbol: "S"), BattleBoats::Ship.new(name: "Destroyer", length: 2, symbol: "D"), ].freeze
- VERSION =
"0.0.8".freeze