Question: Using Python do the following: 3. Battle Ship game modified. Given the position of ships with two box numbers top left and bottom right. The

Using Python do the following:Using Python do the following: 3. Battle Ship game modified. Given the

3. Battle Ship game modified. Given the position of ships with two box numbers top left and bottom right. The battle ship marked with x has been hit. If all the squres of ship are marked by x then it sinks. print the number of hits and number of sunk Given x - - x x Number of hits 2 and number of sunk = 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!