Program 5: Battleship

Due date: Jul. 31, 2020 End of the day

Write a program to play a simple version of the Battleship game. This version of the game allows two "modes": 1. a player mode where a board containing at most 8 ships is created by reading a file and then the player gets to interact with the program to provide attack coordinates. 2. A computer mode, where a function randomly generates valid attack coordinates with no player input.

There is no starter code for this project.  You have enough experience and enough examples to do this on your own.  Work on this in Zybooks at section 10.23 (the test cases are not added yet)

Check the attachments for more information: