Question: I have to create a code/program for the game battleship (computer vs. user) in matlab. I want to have a 10x10 playing board with 5

I have to create a code/program for the game battleship (computer vs. user) in matlab. I want to have a 10x10 playing board with 5 different ships randomly placed each time that have the traditional lengths as a real battleship game. I also need to somehow plot my hits and misses on a graph of some kind within matlab. I would also like to incorporate sound within the game as well. I would an explosive sound when there is a hit and also a sound of something hitting water when there is a miss.

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!