Battleships!

 

in this assignment we were supposed to  will build a simplified, one-player version of the classic board game Battleship! In this version of the game, there will be a single ship hidden in a random location on a 5×5 grid. The player will have 10 guesses to try to sink the ship.

10. You win!

capture

11. Danger, will Robinson!!

 

capture3

12. Bad Aim

capture4

13. Not Again!

capture5

14. Test Run

capture6

15. Play It, Sam

capture7

16. Game Over

capture8

17. A Real Win

capture9

18. To Your Battle Stations!

capture10

19. Extra Credit

we were basically supposed to use lists in this assignment. it is  is a sequential collection of Python data values, where each value is identified by an index. The values that make up a list are called the elements  of that list. The elements in a list can be any type of Python data. it was harder than the other assignments because it is lengthy and confusing i had a issue with spacing and spacing matters a lot while coding.