Question: The grid is a 5x5 with 2 ships of length 2 and 4 where the user plays the computer. I am having trouble getting the
The grid is a 5x5 with 2 ships of length 2 and 4 where the user plays the computer. I am having trouble getting the commands to work once the figure/board opens and how to allow the user to place their ships where they want them to go. (Battleship code in MATLAB:)
Step by Step Solution
3.42 Rating (152 Votes )
There are 3 Steps involved in it
include include include include include include void PlayerScreen void shipplace void computerplace ... View full answer
Get step-by-step solutions from verified subject matter experts
