This code simulates a dual between 3 players. Where first has a probability of hiting 30%
second man has probability of hiting 50%
third man has probability of hiting 100%
This porgram similates possible outcomes for two different strategies.
First strategy all players shoot
Second strategy player 1 missus his first shot on purpose. This code will show that suprisingly the second strategy is much better for player 1
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.