{"id":2237,"date":"2018-02-18T15:12:27","date_gmt":"2018-02-18T21:12:27","guid":{"rendered":"http:\/\/www.laurentlessard.com\/bookproofs\/?p=2237"},"modified":"2018-02-23T03:38:28","modified_gmt":"2018-02-23T09:38:28","slug":"the-dodgeball-duel","status":"publish","type":"post","link":"https:\/\/laurentlessard.com\/bookproofs\/the-dodgeball-duel\/","title":{"rendered":"The Dodgeball duel"},"content":{"rendered":"<p>This is a game theory problem from the <a href=\"https:\/\/fivethirtyeight.com\/features\/who-will-survive-the-dodgeball-duel\/\">Riddler<\/a>. Three dodgeball players, who survives?<\/p>\n<blockquote><p>\nThree expert dodgeballers engage in a duel \u2014 er, a &#8220;truel&#8221; \u2014 where they all pick up a ball simultaneously and attempt to hit one of the others. Any survivors then immediately start over, attempting to hit each other again. They are equally fast but unequally accurate. Name them Abbott, Bob and Costello. Each has an accuracy of a, b and c, respectively. That is, if Abbott aims at something, he hits it with probability a, Bob with probability b and Costello with probability c. The abilities of each player are known by the others. Let\u2019s say Abbott is a perfect shot: a = 1. Suppose the players follow an optimal strategy, with the goal being survival. Which player, for every possible combination of Bob and Costello\u2019s abilities (b and c), is favored to survive this truel?\n<\/p><\/blockquote>\n<p>Here is my solution:<br \/>\n<a href=\"javascript:Solution('soln_dodgeball_one','toggle_dodgeball_one')\" id=\"toggle_dodgeball_one\">[Show Solution]<\/a><\/p>\n<div id=\"soln_dodgeball_one\" style=\"display: none\">\n<p>Before I begin, I&#8217;d like to thank commenters Guy Moore and Jason Weisman for sharing their own solutions and for pointing out a different way of interpreting the problem. The &#8220;Random-ball&#8221; variant is due to Guy Moore. Ok, here we go&#8230;<\/p>\n<h3>What is a solution, anyway?<\/h3>\n<p>The problem talks about &#8220;optimal strategies&#8221;, so it&#8217;s worth discussing what this means so we&#8217;re all on the same page. An optimal strategy is a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Nash_equilibrium\">Nash equilibrium<\/a>. It&#8217;s a set of strategies for each player such that if any one player changed their strategy (while the others held their strategies fixed), it would result in a worse outcome for that player. Hence, no player has any incentive to change their strategy.<\/p>\n<p>A <em>strategy<\/em> is a rule that tells you what to do based on what you observe. In this game, an example of a strategy would be &#8220;always aim to hit the remaining player with the best accuracy&#8221;. This is an example of a <em>pure<\/em> strategy because each player always behaves the same way no matter what they observe. Not every game is guaranteed to have a Nash equilibrium consisting of pure strategies. In some games, such as <a href=\"https:\/\/en.wikipedia.org\/wiki\/Rock%E2%80%93paper%E2%80%93scissors\">rock-paper-scissors<\/a>, it&#8217;s optimal to use a <a https:\/\/en.wikipedia.org\/wiki\/Strategy_(game_theory)#Mixed_strategy\">mixed strategy<\/a>. That is, a probabilistic strategy such as &#8220;pick rock paper or scissors randomly and with equal probability&#8221;. If you used a pure strategy in rock-paper-scissors, your opponents would counter you and you would lose every time!<\/p>\n<p>It turns out that every finite game has at least one mixed Nash equilibrium. So we need not worry about the case where there is no optimal solution. That being said, it&#8217;s entirely possible for there to exist many Nash equilibria! So we shouldn&#8217;t be surprised if this turns out to be the case&#8230;<\/p>\n<h3>Murder-ball vs Coinflip-ball vs Random-ball<\/h3>\n<p>There are at least three ways of interpreting the problem. In the first interpretation, if two players target each other and hit, then both players are eliminated. I&#8217;ll call this variant &#8220;Murder-ball&#8221;. In Murder-ball, it&#8217;s possible for nobody to win! The second interpretation is that whenever two players hit each other, we should flip a coin and the loser of the coin flip gets eliminated. We also flip a 3-way coin to deal with the case where all three players would be simultaneously eliminated. I&#8217;ll call this &#8220;Coinflip-ball&#8221;. Finally, we could interpret the game as having a randomly chosen shooting order for the players. I&#8217;ll call this variant &#8220;Random-ball&#8221;. In Random-ball, if A hits B and B hits C, but the order is such that A shoots first, then B gets eliminated before shooting C and C survives. All these variants have different solutions!<\/p>\n<h3>Two players<\/h3>\n<p>Let&#8217;s start by considering the case with only two players $P$ and $Q$; a duel! In this case, there are no decisions to make. The players always target each other. Suppose the two players have probabilities of $p$ and $q$ to hit each other, respectively, and we want to figure out the probability that either player will win the duel. In Murder-ball, Player $P$ can only win if he hits $Q$ and $Q$ misses $P$. The probability of this occurring is $p(1-q)$. But if both players miss (probability $(1-p)(1-q)$) then the game repeats. So the chance that $P$ is the ultimate winner is:<br \/>\n\\begin{align}<br \/>\n\\mathbb{P}_P &#038;= p(1-q)\\biggl(1+(1-p)(1-q)+(1-p)^2(1-q)^2+\\cdots\\biggr) \\\\<br \/>\n&#038;= \\frac{p(1-q)}{1-(1-p)(1-q)}<br \/>\n\\end{align}Repeating a similar argument for the other player, we find the probabilities of interest are:<br \/>\n\\begin{gather}<br \/>\n\\mathbb{P}_P = \\frac{p(1-q)}{1-(1-p)(1-q)},<br \/>\n\\qquad<br \/>\n\\mathbb{P}_Q = \\frac{(1-p)q}{1-(1-p)(1-q)}, \\\\<br \/>\n\\qquad<br \/>\n\\mathbb{P}_0 = \\frac{pq}{1-(1-p)(1-q)}.<br \/>\n\\end{gather}Here, $\\mathbb{P}_0$ is the probability that the two players simultaneously hit each other, so nobody wins. Naturally, the three probabilities above sum to $1$.<\/p>\n<p>In Coinflip-ball and Random-ball, Player $P$ can also win if both players hit each other but he wins the coin flip. It turns out that in this case, it&#8217;s impossible for <em>nobody<\/em> to win, and $\\mathbb{P}_0$ from the solution above gets split evenly between both players.<\/p>\n<h3>Three players<\/h3>\n<p>I will solve the Murder-ball case in detail. With three players, each has a choice of who to target. We will make no assumptions about the nature of the strategies used, and we will allow for the possibility of using a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Strategy_(game_theory)#Mixed_strategy\">mixed strategy<\/a>. An example of a mixed strategy would be &#8220;Player $A$ should target $B$ with probability $0.4$ and $C$ with probability $0.6$&#8221;. In some games, such as <a href=\"https:\/\/en.wikipedia.org\/wiki\/Rock%E2%80%93paper%E2%80%93scissors\">rock-paper-scissors<\/a>, it&#8217;s optimal to use a mixed strategy because if you always did the same thing, your opponents would realize this and you would lose every time! So, let&#8217;s define the numbers $x,y,z$ as follows:<br \/>\n\\begin{align}<br \/>\n&#038;A\\text{ targets }B\\text{ with prob }x\\text{ and targets }C\\text{ with prob  }(1-x)\\\\<br \/>\n&#038;B\\text{ targets }C\\text{ with prob }y\\text{ and targets }A\\text{ with prob }(1-y)\\\\<br \/>\n&#038;C\\text{ targets }A\\text{ with prob }z\\text{ and targets }B\\text{ with prob }(1-z)<br \/>\n\\end{align}We can compute the probabilities that any player will win by enumerating the possible ways it can happen. I&#8217;ll give one example to illustrate. To compute the probability that $A$ wins, it can happen in two main ways:<\/p>\n<ol>\n<li>$B$ and $C$ are eliminated simultaneously and $A$ survives. This can happen in three ways. Either $B$ and $C$ hit each other, or $B$ hits $C$ and $A$ hits $B$, or $C$ hits $B$ and $A$ hits $C$. We can also have everybody survive for some number of rounds first! The total probability is:<br \/>\n\\[<br \/>\n\\frac{a b (1-c) x y + a (1-b) c (1-x) (1-z) + b c y (1-z)}{1-(1-a)(1-b)(1-c)}<br \/>\n\\]<\/p>\n<li>$B$ is eliminated first, and then $A$ wins the duel with $C$ (a case we already solved with $p$ and $q$ above). In any case, $B$ must miss his shot. Either $A$ and $C$ both target $B$ and at least one of them hits, or only one of them targets $B$ and the other misses. The total probability in this case is:<br \/>\n\\[<br \/>\n\\frac{a(1-c)}{1-(1-a)(1-c)} \\frac{(1-b)\\left(a (1-c) x + (1-a) c (1-z) + a c x (1-z)\\right)}{1-(1-a)(1-b)(1-c)}<br \/>\n\\]<\/p>\n<li>$C$ is eliminated first, and then $A$ wins the duel with $B$. This case is similar to the previous one and the total probability is:<br \/>\n\\[<br \/>\n\\frac{a(1-b)}{1-(1-a)(1-b)} \\frac{(1-c)\\left(a (1-b) (1-x) + (1-a) b y + a b (1-x) y\\right)}{1-(1-a)(1-b)(1-c)}<br \/>\n\\]\n<\/ol>\n<p>Summing the three probabilities above, we get $\\mathbb{P}_A$, the probability that $A$ wins. We can do a similar computation to get the probability that $B$ wins, that $C$ wins, and that nobody wins (all four probabilities will sum to $1$). By symmetry, the formula for $\\mathbb{P}_B$ can be obtained by just cyclically permuting all variables: $a\\to b\\to c \\to a$ and $x \\to y \\to z \\to x$. Finally, the probability that nobody wins is such that all four probabilities sum to one: $\\mathbb{P}_0 =1-\\mathbb{P}_A-\\mathbb{P}_B-\\mathbb{P}_C$.<\/p>\n<h3>Murder-ball optimal strategies<\/h3>\n<p>We now have the probabilities that each player wins, and these are the functions:<br \/>\n\\[<br \/>\n\\mathbb{P}_A(x,y,z),\\quad \\mathbb{P}_B(x,y,z),\\quad \\mathbb{P}_C(x,y,z).<br \/>\n\\]Each function is parameterized by $a,b,c$, the accuracy of each player, and is a function of $(x,y,z)$, the (mixed) strategy being used. Our goal is to find a choice of $(x,y,z)$ such that no change in $x$ alone can improve $\\mathbb{P}_A$, no change in $y$ alone can improve $\\mathbb{P}_B$, and no change in $z$ alone can improve $\\mathbb{P}_C$. A key observation that will help us solve the problem is that all three functions are linear in $x$, $y$, and $z$ separately. When optimizing a linear function, the maximum always occurs at a boundary. This implies that there must exist pure Nash equilibria!!! So we can restrict our search to cases where $x$, $y$, and $z$ are each $0$ or $1$. So there are 8 strategies in total.<\/p>\n<p>I computed the Nash equilibria via an exhaustive search. For each value of $(a,b,c)$, I computed the values of $(\\mathbb{P}_A,\\mathbb{P}_B,\\mathbb{P}_C)$ for all 8 strategies, tried changing $(x,y,z)$ for each one to see if it was a Nash equilibrium, and if I found multiple Nash equilibria, I chose one at random. Then, I made a plot illustrating who wins when. When $a=1$, we obtain the following picture:<\/p>\n<p><a href=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_murder_a1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_murder_a1-1024x893.png\" alt=\"\" width=\"840\" height=\"733\" class=\"aligncenter size-large wp-image-2251\" srcset=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_murder_a1-1024x893.png 1024w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_murder_a1-300x262.png 300w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_murder_a1-768x670.png 768w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_murder_a1-1200x1047.png 1200w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_murder_a1.png 1434w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>What a mess! There are many Nash equilibria here, and pretty much anything can happen. The reason is that without a coinflip, the player targeted by Abbott will always lose. So, in fact, anything that player does is optimal! That losing player has a big effect on which remaining player wins, and hence the messy solutions. However, these Nash equilibria are mostly <em>unstable<\/em>. That is, if we change Abbott&#8217;s accuracy to $a=0.99$, the picture changes completely:<\/p>\n<p><a href=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_murder_a99.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_murder_a99-1024x893.png\" alt=\"\" width=\"840\" height=\"733\" class=\"aligncenter size-large wp-image-2250\" srcset=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_murder_a99-1024x893.png 1024w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_murder_a99-300x262.png 300w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_murder_a99-768x670.png 768w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_murder_a99-1200x1047.png 1200w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_murder_a99.png 1434w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<h3>Coinflip-ball optimal strategies<\/h3>\n<p>I will omit the derivations for Coinflip-ball because the algebra is quite lengthy and tedious to write out, but the idea is similar in spirit to how I derived the probabilities for the Murder-ball variant. As in the Murder-ball case, all probabilities are linear in $(x,y,z)$, so once again, pure Nash equilibria must exist. As above, I used an exhaustive search to plot the probability of winning for each player. Here is what I obtained in the case where $a=1$.<\/p>\n<p><a href=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_coinflip_a1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_coinflip_a1-1024x893.png\" alt=\"\" width=\"840\" height=\"733\" class=\"aligncenter size-large wp-image-2249\" srcset=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_coinflip_a1-1024x893.png 1024w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_coinflip_a1-300x262.png 300w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_coinflip_a1-768x670.png 768w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_coinflip_a1-1200x1047.png 1200w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_coinflip_a1.png 1434w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>For most of the cases, the strategies are obvious. For example, when $b=0.8$ and $c=0.5$, the optimal strategy is for Abbott and Bob to target each other and for Costello to target Abbott. In this case, it turns out Costello wins most of the time! In the top right corner, you&#8217;ll notice that there is a mixture of possible outcomes because there are multiple Nash equilibria there. In that region, all three players are highly accurate and the strategy of ganging up on Abbott is no longer optimal. In this regime, it&#8217;s Nash-optimal for the three players to target each other in a chain (A to B to C to A) or (A to C to B to A). This is a result of the rules of the game. In my interpretation of Coinflip-ball, if all three players hit each other simultaneously, the outcome of the game is decided by a coin flip where each player has an equal chance to win.<\/p>\n<h3>Random-ball optimal strategies<\/h3>\n<p>Again, I omit the derivation. This case yields a solution similar to the other two, where pure Nash equilibria always exist. However, in this case, it&#8217;s even nicer: the Nash equilibria are unique! This means there is an unambiguous best strategy for all players. Here is what I obtained in the case where $a=1$.<\/p>\n<p><a href=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_random_a1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_random_a1-1024x768.png\" alt=\"\" width=\"840\" height=\"630\" class=\"aligncenter size-large wp-image-2259\" srcset=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_random_a1-1024x768.png 1024w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_random_a1-300x225.png 300w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_random_a1-768x576.png 768w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_random_a1.png 1120w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>The uniqueness of the Nash equilibria is reflected in the fact that every region is solid; there is no overlap anywhere.<\/p>\n<h3>Inaccurate Abbott<\/h3>\n<p>Of course, I had to see what would happen in the case where Abbott is not perfectly accurate. Prepare to have your mind blown&#8230;<\/p>\n<p>Here is the case of Coinflip-ball:<\/p>\n<p><a href=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_coinflip.gif\"><img decoding=\"async\" src=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_coinflip.gif\"\/><\/a><\/p>\n<p>You&#8217;ll notice that when $a=0$ the optimal solution is just split along the line $b=c$, where the more accurate player wins. This makes sense; Abbott will always lose no matter what he does so it&#8217;s up to the remaining two players to duke it out.<\/p>\n<p>Here is the case of Murder-ball:<\/p>\n<p><a href=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_murder.gif\"><img decoding=\"async\" src=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_murder.gif\"\/><\/a><\/p>\n<p>This time, in the case $a=0$, Bob and Costello are not threatened by Abbott so they target each other. If both Bob and Costello are very accurate, then there is a good chance that they eliminate each other, and in this case Abbott wins!<\/p>\n<p>Finally, here is the case of Random-ball:<\/p>\n<p><a href=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_random.gif\"><img decoding=\"async\" src=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball_random.gif\"\/><\/a><\/p>\n<\/div>\n<p><!--\n\n\n<h3>Optimal strategy for the case a=1<\/h3>\n\n\n\nThe optimal strategy is the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Nash_equilibrium\">Nash equilibrium<\/a>; it's the strategy each player should use such that no player has an incentive to change their own strategy assuming everybody else keeps their strategy the same. In this case, it means that Abbott should pick $x$ such that $\\mathbb{P}_A$ is maximized, Bob should pick $y$ such that $\\mathbb{P}_B$ is maximized, and Costello should pick $z$ such that $\\mathbb{P}_C$ is maximized.\n\nKey observation: the probabilities $\\mathbb{P}_A$, $\\mathbb{P}_B$, $\\mathbb{P}_C$ each depend on $(x,y,z)$, but only linearly in each variable. This means that if we fix $y$ and $z$, for example, (fix Bob's and Costello's strategies), then $\\mathbb{P}_a$ is an <em>affine<\/em> function of $x$. This means that an optimal strategy can always be obtained by picking either $x=0$ or $x=1$ (no mixed strategy is required!). A similar property holds if we fix any other pair of strategies. We can solve the case $a=1$ in steps:\n\n\n<ol>\n\n\n<li>If we set $a=1$, we find that $\\mathbb{P}_C=bx(1-y)+(1-b)cxz$. Costello's goal is to choose $z$ to maximize this quantity. Since $(1-b)cx\\ge 0$, Costello should always choose $z=1$ (target Abbott).\n\n\n<li>If we set $a=1$, we find that $\\mathbb{P}_B=b (1-x)(1-c+cz)-b(1-c)(1-x)y$. Bob's goal is to choose $y$ to maximize this quantity. Since $-b(1-c)(1-x)\\le 0$, Bob should always choose $y=0$ (target Abbott).\n\n\n<li>If we set $a=1$ and account for the fact that both Bob and Costello will be targeting Abbott ($y=0$ and $z=1$), we find that $\\mathbb{P}_A=(1-b)(1-c)\\bigl( (1-c)x + (1-b)(1-x) \\bigr)$. Therefore, Abbott's optimal strategy is to target Bob if $b\\gt c$ and Costello if $c\\gt b$.\n<\/ol>\n\n\n\nTherefore, we conclude that the optimal strategy is for Bob and Costello to always target Abbott, and for Abbott to target whoever is the most accurate between Bob and Costello.\n\n\n\n<h3>Who is likelier to win?<\/h3>\n\n\n\nIn the case $b\\gt c$, (Bob is more accurate than Costello), the optimal strategy is $x=1$, $y=0$, $z=1$. This results in:\n\\[\n\\mathbb{P}_A = (1-b)(1-c)^2,\\qquad \\mathbb{P}_B = 0,\\qquad \\mathbb{P}_C=b+c-bc\n\\]To see who is likelier to win, we must compare $\\mathbb{P}_A$ to $\\mathbb{P}_C$. After some algebra, we conclude that Abbott wins if $(1-b)(1-c)(2-c) \\gt 1$ and Costello wins otherwise. A similar calculation can be carried out for the case $b\\lt c$. Ultimately, we can plot the regions of the $b$-$c$ plane where each of the competitors wins:\n\n<a href=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball1-1024x875.png\" alt=\"\" width=\"840\" height=\"718\" class=\"aligncenter size-large wp-image-2244\" srcset=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball1-1024x875.png 1024w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball1-300x256.png 300w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball1-768x656.png 768w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball1-1200x1025.png 1200w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball1.png 1547w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a>\n\nNote that when Bob is more accurate than Costello, Costello always wins! The reason is that Bob will be targeted by Abbott and therefore can never win. Ultimately, it often pays to be the least accurate! The only exception is when both competitors are inaccurate (blue region). There, Abbott wins most of the time. To see the relative sizes of the probabilities, here is a 3D version of the same plot. The vertical axis is the probability.\n\n<a href=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball2-1024x741.png\" alt=\"\" width=\"840\" height=\"608\" class=\"aligncenter size-large wp-image-2243\" srcset=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball2-1024x741.png 1024w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball2-300x217.png 300w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball2-768x556.png 768w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball2-1200x869.png 1200w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball2.png 1600w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a>\n\nNote that these probabilities don't actually sum to 1! Not shown above is the probability that nobody wins. This probability turns out to be rather small, however, so I didn't plot it.\n\n\n\n<h3>A note about uniqueness<\/h3>\n\n\n\nIf Bob is more accurate than Costello ($b\\gt c$), then Bob always loses because Abbott will target him. Bob may lose no matter what he does, yet he can profoundly affect Abbott and Costello's chances of winning depending on who he targets! The strategy discussed above (Bob and Costello always target Abbott) is Nash-optimal, but it's not the only Nash equilibrium. If Bob chooses to target Costello instead, Bob would still lose, but he would give Abbott a better chance of winning. He would also increase the probability that <em>nobody wins<\/em>. Here is what happens in the case where the person with the most accuracy besides Abbott decides not to target Abbott:\n\n<a href=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball3-1024x741.png\" alt=\"\" width=\"840\" height=\"608\" class=\"aligncenter size-large wp-image-2246\" srcset=\"https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball3-1024x741.png 1024w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball3-300x217.png 300w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball3-768x556.png 768w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball3-1200x868.png 1200w, https:\/\/laurentlessard.com\/bookproofs\/wp-content\/uploads\/2018\/02\/dodgeball3.png 1634w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a>\n\nIn fact, there are an infinite number of Nash equilibria. Bob could opt for any mixed strategy (a linear combination of the two strategies discussed above) and it would still be Nash-optimal! For example, Bob could target Abbott some fraction of the time and Costello the rest of the time.\n--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a game theory problem from the Riddler. Three dodgeball players, who survives? Three expert dodgeballers engage in a duel \u2014 er, a &#8220;truel&#8221; \u2014 where they all pick up a ball simultaneously and attempt to hit one of the others. Any survivors then immediately start over, attempting to hit each other again. They &hellip; <a href=\"https:\/\/laurentlessard.com\/bookproofs\/the-dodgeball-duel\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;The Dodgeball duel&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":2259,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[7],"tags":[33,8,2],"class_list":["post-2237","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-riddler","tag-game-theory","tag-probability","tag-riddler"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/posts\/2237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/comments?post=2237"}],"version-history":[{"count":12,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/posts\/2237\/revisions"}],"predecessor-version":[{"id":2260,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/posts\/2237\/revisions\/2260"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/media\/2259"}],"wp:attachment":[{"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/media?parent=2237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/categories?post=2237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/tags?post=2237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}