![]() The target list is updated after each shot.The opponent begins shooting using points from the created target list, working randomly outward from the initial hit point. ![]() The opponent now switches from search mode to target mode for that ship. When a ship is hit, a list of all other possible hit points (horizontal and vertical) for that ship is created based on the ship's size and previously fired surrounding shots.Each time a shot is made, that point is removed from the list. Initially, the opponent makes random shots from a list of all the open (unused) points on the grid. ![]() Knowledge of this algorithm can help you determine how to best position your fleet! Here's how it works: If you sink all of your opponent's ships before all of your ships are sunk, you win!Īlthough the computerized opponent never "looks up" the position of your ships, it does use an algorithm to seek and destroy your fleet.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |