Battleship! Lab

Lab description: In this lab we were to build a single-player version of the board game “Battleship.” In this lab we were also to give the player 10 guesses to try and sink the battleship. In order to succeed in completing this lab, we had to use our knowledge of creating lists, conditionals, and functions in python. The correct codes in order to complete this lab is provided in the pictures below.

Experience: Very tricky, and complicated. You really need to have a clear understanding of lists, conditionals, and functions prior to doing this lab. Took some time, but eventually I was able to complete the code.

12345678910111213141516171819