Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 432 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 432 Bytes

Battleship Objects

*Classes ** Ship --Will hold initialize method that will create ship, with ship name and hit points Will also hold sunk_ship method that will return a false if ship runs out of hit points

** PlayerAttack Contains remove_hit_points method

**Board initialize method will create a board of two arrays of 50 elements each, representing X and Y coordinate report_ship_position will assign a ship to a position