Menu

[Solved]Actual Code Needed Question Provide Description Algorithm S Detailed Descriptive Pseudocod Q37266782

***THERE IS NO ACTUAL CODE NEEDED FOR THIS QUESTION. JUSTPROVIDE A DESCRIPTION OF THE ALGORITHM(S) AND A DETAILEDDESCRIPTIVE PSEUDOCODE***

***C#***

*Reply to comment-just one move per turn*

Design the AI for playing multiplayer Battleship. Specification1. The game is played on an NxN grid. 2. Each player will place aspecified set of ships a. The ships will vary in length from 2 to7. b. There can be any number or any size ship including 0. c.EXCEPT the length 7 ship – the battleship – which there will alwaysbe 1. 3. Player order will be random but fixed at the start of thegame. 4. Each round consists of each player making a grid selectionin turn. 5. Each grid selection will be played into all player’sgrid. Including the current players grid. 6. Each player willrespond with HIT, MISS or SANK {ship name}. 7. If a player’sbattleship is sunk that player is removed from the game. 8. Repeatfrom #4 until 1 player remains. 9. That player is the winner.Deliverables In a word document provide the following: 1. A highlevel narrative description of the algorithms you will use todetermine the grid selection when it is your turn (step #4 above).2. More detailed pseudocode that describes specific parts of thealgorithm. Note that all players are informed of all guesses andresults (step #5 and #6 above) and you may (should?) store and usethat information as part of your algorithm. 3. Data Structures youwill need to store any data as part of those algorithms. 4. A highlevel OO design for the classes you will need to incorporate thealgorithms and data structures. A class diagram will be acceptableas will an outline of the class definitions in a Visual Studioproject (i.e., empty classes with no code inside the methods). 5.Define the APIs/Entry points for the code in specification 4/5/6.Specifically, what information would you expect to be passed,returned for you to be able to implement your algorithm. Note thatthis may require you to add some data structures to deliverable #2.Justify why you need any parameters passed in and why you think thereturn values would be needed.

Expert Answer


Answer to ***THERE IS NO ACTUAL CODE NEEDED FOR THIS QUESTION. JUST PROVIDE A DESCRIPTION OF THE ALGORITHM(S) AND A DETAILED DESCR… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *