8.7
Naval Battle Analysis
In the game Axis & Allies, the outcome of a two-sided naval
battle is decided by repeated rolling of dice. Until all ships on
at least one side are destroyed, each side rolls one (six-sided)
die for each of its existing ships. The die rolls determine
casualties inflicted on the opponent; these casualties are removed
from play and cannot fire (roll) in subsequent rounds. There are two
types of ships: battleships and destroyers. For a battleship, a die
roll of four or lower is scored as a “hit.” For a destroyer, a die
roll of three or lower is scored as a “hit.”
It takes two hits (not necessarily in the same round) to destroy a
battleship and only one hit to destroy a destroyer (side note:
battleships are twice as expensive as destroyers). The defender
gets to decide to which ship to allocate the hit; we
assumethedefenderchoosesintelligently.Iftwodestroyersengageabattleship
in a naval battle, what is the probability that the destroyers win?
How about the battleship? [Hint: You will need to raise a matrix to
a large power.]
Probablity of a destroyer taking a hit = 1/3
Probablity of a destroyer not taking a hit = 1-1/3 = 2/3
Probability of a battleship taking a hit = 1/4
Probability of a battleship not taking a hit = 1-1/4 = 3/4
Probability of the destroyer winning = (2/3)*(1/4)*(2/3)*(1/4) = 0.02777777777 (Answer)
Probability of the battleship winning = (1/3)*(3/4) + (1/3)*(1/4) = 0.33333333333 (Answer)
8.7 Naval Battle Analysis In the game Axis & Allies, the outcome of a two-sided naval...
In a certain board game, a player rolls two fair six-sided dice until the player rolls doubles (where the value on each die is the same). The probability of rolling doubles with one roll of two fair six-sided dice is 16
The Dice game of "Pig" can be played with the following rules. 1. Roll two six-sided dice. Add the face values together. 2. Choose whether to roll the dice again or pass the dice to your opponent. 3. If you pass, then you get to bank any points earned on your turn. Those points become permanent. If you roll again, then add your result to your previous score, but you run the risk of losing all points earned since your...
For your Project, you will develop a simple battleship game. Battleship is a guessing game for two players. It is played on four grids. Two grids (one for each player) are used to mark each players' fleets of ships (including battleships). The locations of the fleet (these first two grids) are concealed from the other player so that they do not know the locations of the opponent’s ships. Players alternate turns by ‘firing torpedoes’ at the other player's ships. The...