|
|
| Science, Math, and Philosophy Discussions regarding science, math, and/or philosophy. |
07-24-2012, 07:44 AM
|
#1
|
|
Pooh-Bah
Join Date: Aug 2006
Location: you got it
Posts: 4,000
|
What is the optimal strategy for this game?
Two players independently choose 0, 1, 2 or 3 coins. The object is to guess the total number of coins chosen.
Player A says his guess out loud. Then Player B says his guess, which must be different. Then the total is verified.
Players take it in turns to be Player A in subsequent rounds.
|
|
|
07-24-2012, 09:21 AM
|
#2
|
|
old hand
Join Date: Jul 2007
Location: Losing at Omahaha
Posts: 1,483
|
Re: What is the optimal strategy for this game?
I'll give it a shot:
Player A obv has the worst of the deal. But if he randomizes his pick and guess "3", he levels the playing field and both have 1/4 to win. Seems like this is the best player A can do, and with this strategy, it doesnt matter what player B does (EDIT: he shouldnt do something stupid, tho, he should just pick a number and guess something that is above/at his number and not 3).
|
|
|
07-24-2012, 10:01 AM
|
#3
|
|
journeyman
Join Date: Sep 2004
Posts: 360
|
Re: What is the optimal strategy for this game?
I came to the same conclusion, neither player has the advantage this way (EV player A = EV player B).
Player B should also pick his number_B at random and I guess choose at random 1 of these 3 numbers (number_B, number_B+1, number_B+2, number_B+3 -> 3 excluded). Otherwise his play is exploitable in the long run.
Result:
0.25: player A wins
0.25: player B wins
0.5: no winner
Last edited by cyberfish; 07-24-2012 at 10:15 AM.
|
|
|
07-27-2012, 07:08 PM
|
#5
|
|
banned
Join Date: Apr 2012
Location: madnak's biggest fan
Posts: 304
|
Re: What is the optimal strategy for this game?
I'm really not sure, I can't see any strategy being beneficial, other than a pattern recognition and meta-game considerations. Perhaps a pro rock-paper-scissors guy can elaborate on that somewhat.
|
|
|
07-27-2012, 08:29 PM
|
#6
|
|
old hand
Join Date: Feb 2009
Location: Europe fiasco
Posts: 1,329
|
Re: What is the optimal strategy for this game?
on random choices guessing 3 has a 4/16 chance and any other pick has less then that so player A should always say 3. Player A has a first move advantage over player B since Player B has to say a different score that obv. has a smaller chance to win.
ok, I just saw I overlooked that you know your hand... :P
Last edited by Rikers; 07-27-2012 at 08:37 PM.
|
|
|
07-27-2012, 08:52 PM
|
#7
|
|
aka Double Ice
Join Date: Jun 2007
Location: Twitter
Posts: 4,563
|
Re: What is the optimal strategy for this game?
Like others said, its A=1/4 B=1/4.
Lets show this given strategy is optimal. Let's let a be A's secret number, x be the guess, and similarily b,y is player B's secret number and guess.
First, notice that after A makes a normal* guess, (by normal I mean that given x,a , that there exists a number from {0,1,2,3}, where if b equals that number, then A wins) B knows one number that A's secret number isn't, namely that a != x-b. Then, atleast one of the other three choices must be chosen 1/3 of the time. So B guesses that choice + b. So B wins atleast 1/3 of the time if it is his turn.
Second, suppose it is A's turn and that B chooses his number randomly. Then at most he can win 1/4th of the time since his guess is equivalent to guessing b. So A's winrate was bounded above by 1/4.
Finally, lets resolve the *starred issue. If A doesn't make a normal guess, then his winrate is 0, and B's winrate is bounded below 0, so A doesn't improve his equity to make bad guesses.
|
|
|
07-27-2012, 09:54 PM
|
#8
|
|
aka Double Ice
Join Date: Jun 2007
Location: Twitter
Posts: 4,563
|
Re: What is the optimal strategy for this game?
OOPS I DIDNT PROVE IT WAS OPTIMAL
|
|
|
07-28-2012, 01:48 AM
|
#9
|
|
veteran
Join Date: Feb 2007
Location: Razzville
Posts: 2,099
|
Re: What is the optimal strategy for this game?
Why isn't a random guess a 1 in 7 chance of being correct?
|
|
|
07-28-2012, 03:31 AM
|
#10
|
|
Carpal \'Tunnel
Join Date: Sep 2002
Location: Henderson, NV
Posts: 21,169
|
Re: What is the optimal strategy for this game?
Quote:
Originally Posted by Banzai
Why isn't a random guess a 1 in 7 chance of being correct?
|
Since you know your number, you know certain other numbers are impossible. So if you picked a 2, guessing 0 is silly.
|
|
|
07-28-2012, 03:58 AM
|
#11
|
|
veteran
Join Date: Feb 2007
Location: Razzville
Posts: 2,099
|
Re: What is the optimal strategy for this game?
^ Thanks, in my defence it is early in the morning here.
|
|
|
07-28-2012, 05:28 AM
|
#12
|
|
aka Double Ice
Join Date: Jun 2007
Location: Twitter
Posts: 4,563
|
Re: What is the optimal strategy for this game?
Quote:
Originally Posted by Alex Wice
OOPS I DIDNT PROVE IT WAS OPTIMAL 
|
Mm I think you have to massage it but a similar argument to mine I think will show its optimal.
|
|
|
07-28-2012, 11:45 AM
|
#13
|
|
Carpal \'Tunnel
Join Date: Mar 2006
Location: party fight subchampion
Posts: 12,056
|
Re: What is the optimal strategy for this game?
I need clarification on the rules. Do you have to guess the exact number to win and there's no winner if neither player guessed correctly, or do you win by guessing closer to the actual number than your opponent (and a tie if you're both equally close)? For the following I'll assume the win condition is being the closest.
So if A picks randomly from {0,1,2,3} and guesses 3 for the total, player B could make his choice a coinflip between 0 and 3. Then B would guess 2 for the total if his choice was 0, and 4 for the total if his choice was 3. With this strategy B wins 3/4 of the time. And actually against A's strategy, if A never adjusts, there's no need for B to randomize. He could pick either 0 or 3 every time.
Against the randomized version of B's strategy described above, A could adjust by making his choice a coinflip between 0 and 3, while still guessing 3 for the total. So now both A and B win half the time.
Is there any way for B to improve against A's new strategy? Since we're looking at exploiting a fixed strategy, we only need to look at pure strategies for B. If B chooses 0, A's guess of 3 will be exactly correct half the time so that's no improvement for B. If B chooses 1, the total is a coinflip between 1 and 4. The best B can do with his guess is to win half the time so no improvement there. If B chooses 2, the total is a coinflip between 2 and 5. Again the best B can do with his guess is win half the time. And if B chooses 3, A will be exactly correct half the time. Conclusion: B has no way to improve.
So we have a Nash equilibrium. A and B each do a coinflip between 0 and 3 for their choices, A guesses 3 for the total, and B guesses either 2 or 4 depending on whether his choice was 0 or 3. No advantage for either player.
|
|
|
07-28-2012, 02:17 PM
|
#14
|
|
Carpal \'Tunnel
Join Date: Mar 2006
Location: party fight subchampion
Posts: 12,056
|
Re: What is the optimal strategy for this game?
I didn't address all of A's possible strategies though. A doesn't have to guess 3, but if he guesses lower than 3 (against B's strategy of choosing by coinflip either 0 or 3), then B is guaranteed a win if B chose 3, by guessing 3 (and may also win some of the time when B chose 0). So B wins at least 50% when A guesses lower than 3. A similar argument holds when A guesses higher than 3 (B wins by guessing 3 whenever B chose 0). It was already shown that A can win at least half the time by always guessing 3, so A does not benefit by guessing anything else.
|
|
|
07-28-2012, 03:30 PM
|
#15
|
|
veteran
Join Date: Feb 2007
Location: Razzville
Posts: 2,099
|
Re: What is the optimal strategy for this game?
Yes, you must guess correctly to win. If all players guess incorrectly the game continues.
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 11:54 AM.
|