Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please help me with this 2D array assignment Battleship game creator Thank you!! Assignment 8 Battleship - Part 1 In this assignment we recreate the
Please help me with this 2D array assignment
Battleship game creator
Thank you!!
Assignment 8 Battleship - Part 1 In this assignment we recreate the 2-player game "Battleship". This assignment will give you lots of practice with two dimensional arrays. There will be a second part of the assignment that is Assignment 9. In part 1, we will make a one player version and we will start with our ships in set positions. This makes it easy for you in testing your program, and easy for me to help you. In part 2 we will deal with randomized ship placements. Battleship starts with two boards for a player. There is a board with the ships location, and a second board for the players guesses. Each guess is marked at a "hit" or a "miss". On the final hit on a ship, the guesser is told that they have sunk the ship. Here is the Ship Location Board that we will use inStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started