GE2326: Bayesian Battleship

This is a search game that demonstrates Bayesian Search Theory. This is a 2-person game. The first player hides the battleship, and the 2nd player tries to find it using Bayesian search. Movement of the boat and plane is in 8 directions (horizontal, vertical, diagonal) or stay in place. The center square (H8) is the base of the plane. Each square on the map will show the probability that the boat is in that location. Squares are also color-coded, with white being the highest probability, and dark blue being the lowest.

  1. Player 1 - hide the boat: Click on "Assign the boat". Click on the center square to start moving the boat. Click on adjacent squares (8 possible directions) to move the boat, or the same square to stay there. Keep the movement hidden from Player 2! You can move the boat 10 times, then it will be hidden.
  2. Player 2 - assign the prior: Click on "Draw the prior". Information from scouts will appear in the bottom-right of the screen. The scouts information is also noisy. To give an area higher prior probability, click on the search area and drag a circle around the region that you think has the boat. The circle corresponds to 1-standard deviation of a Gaussian (bell curve). I.e., the probability will be concentrated inside the circle region. You can draw multiple circles and the priors will add together.
  3. Player 2 - search for the boat: Click on "Find the boat". Click on the center square to begin searching, then click adjacent squares (8 directions) to move the search plane, or the same square to search it again. After each step, the probability map will be updated. The search reliability of the plane is 80%. The plane has limited fuel for 18 steps only. Return to base (center square) to refuel the plane. If the plane runs out of fuel you lose!
  4. Play again? To play again, reload the page. .

More options:


Version 1.03b (2017/03/14)
Copyright © 2015, 2016, 2017 Antoni B. Chan, Weichen Zhang, Tianyu Yang, Department of Computer Science, City University of Hong Kong.