![]() Once the ship has been hit a second time, the orientation (horizontal or vertical) of the ship is known and all points from the opposite orientation are removed from the target list. 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. Continue to fire shots with the goal of sinking your opponent's entire fleet.The most recent opponent shot is shown with a yellow cross and its status (hit, miss, etc.) is displayed above the left grid. The results of your opponent's shots are shown on the left grid. Immediately after firing your shot, your opponent (computer) will fire a shot.Misses appear as white points and hits are displayed as red points. Your most recent shot is shown with a yellow cross and its status (hit, miss, etc.) is displayed above the right grid. The right grid is used for keeping track of your shots.Note that the point must be entered in the form (#,#) with no spaces. Enter the coordinates for your first shot and press the Enter key (or click/tap outside of the input box). Once the game has loaded, an input box will appear above the right grid.During this time, your opponent's fleet is being randomly positioned. After you've positioned your fleet, press the START button and wait for the game to load (typically a few seconds).The Randomize and Reset buttons may be used to randomly position your fleet or restore the initial ship positions. All ships must be entirely visible on the grid and cannot overlap each other. Clicking/tapping on a ship's yellow dot will change its orientation (horizontal or vertical). Position your ships by dragging the yellow dots. Your fleet is shown on the left grid.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |