Write a code on my AI vs AI .m file so that it runs for 100 times and shows how many times (percentage) computer 1 and computer 2 won. Edit my AI vs AI battlship .m file so computer 1 has a strategy...

1 answer below »
Write a code on my AI vs AI .m file so that it runs for 100 times and shows how many times (percentage) computer 1 and computer 2 won.
Edit my AI vs AI battlship .m file so computer 1 has a strategy where if computer 1 hits a boat, it tries to hit the surrounding, (up right down left) and continue targeting when it is hit. After the boat is sunk, it moves onto next guessing and after hit, like before, uses the same strategy of hitting the near ones. Computer 2 is just guessing randomly but make it so it doesn't guess the same spot even though it is a random guessing.

Answered Same DayDec 15, 2021

Answer To: Write a code on my AI vs AI .m file so that it runs for 100 times and shows how many times...

Sathishkumar answered on Dec 16 2021
122 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here