keronpro.blogg.se

Battleship online app
Battleship online app








battleship online app
  1. #Battleship online app how to
  2. #Battleship online app android

You can click the random button in the upper right corner to use it as a starting point. The sonar reveals the position of an opponent's ship for 200 points.ĭrag your 6 ships from the left side of the strategy panel into the game area. The jet hits a number of random cells at once for 100 points.

  • Advanced Mode: Collect points to buy power-ups.
  • Classic Mode: Click on a cell and guess the position of your enemy's ship to destroy them.
  • Select the play button in the center of the game's welcome screen then choose to play in either classic or advanced mode. Try the game in it's own window by clicking here.

    #Battleship online app android

    You can play this game on computers powered by the Microsoft Windows operating system, the Apple OS X Mac operating system, and mobile phones like the iPhone powered by iOS or Google Android powered Samsung. These games are rendered using JavaScript and a mobile-friendly HTML design, so they work on desktop computers, laptops like the Google Chromebook, tablets like the iPad or Amazon Kindle Fire, and mobile devices like the iPhone. For example, if an open point is surrounded by misses/hits on all four sides, that point is not excluded from the list of available shots, even though there is no way it could be a hit.Almost every game in our collection was created using a game building tool named Construct.

  • NOTE: While in search mode, the opponent algorithm does not consider the number of open neighbouring points.
  • When no ships are being targeted, the opponent returns to the random search mode.
  • When a ship is sunk, target mode is deactivated for that ship.
  • When multiple ships are being targeted simultaneously, the target algorithms are executed in alphabetical order by ship name.
  • If neighbouring ships are hit while a ship is being targeted, target mode is also activated for those ships.
  • Furthermore, if at any time the number of available target points in the horizontal or vertical direction is insufficient to sink the ship, points from that orientation are removed from the target list. 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.
  • #Battleship online app how to

    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.

    battleship online app

    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.









  • Battleship online app