Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 504 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 504 Bytes

simple battle ship implementation

My assumptions: This is a single user Battleship game.

I'm doing the following things

a)First create a board, asking user for ship count and ship size, directions etc.

b)After this user enter possible position(x,y) where ship may be.

c)Prints all the possible outcomes based on the problem description like Hit, Miss, Already taken, Win, Sunk.

d)I have added standard validation of input.

To run the game. a)Please checkout project and run Battleship.main()