Jump to content
BrainDen.com - Brain Teasers
  • 0


bushindo
 Share

Question

Four friends are playing a game. They have a pool of 100 dollars. Let's say that they have a unit square, with the corners located at (0,0),(1,0), (1,1), and (0, 1). Each player would sequentially take turn marking a point on the unit square. After the 4 markers are placed, the square is divided into 4 region, each centered at one of the markers. The rule for region division is that if any point on the square has the smallest distance to marker i, then it belongs to marker i. Apply that to the infinite number of points consisting the square, and you have the area associated with each marker. At this stage, each player wins an amount of the $100 that is proportional to their polygon's area. For instance, if player A mark a point so that he has 50% of the area, he wins $50 bucks. The remaining money are divided proportionally between the other 3.

Here is an example.

post-14842-12472077542987.jpg

Here, there are four point marked on the square, and the square is divided into 4 regions by the rule defined above. Note that boundaries between any two regions are actually lines that are equidistant from the two marked locations. The pink point has the largest area (about 35%), so the player who placed that point wins about $35.

1) Suppose that you are playing this game, and you have to go first. Where would you mark your point? Assume your opponents will each try to maximize their winnings, with no collusion between any two party.

2) suppose that you are playing this game, and you're offered the choice to go first, second, third, or last, which would you pick to ensure the highest expected winning? Assume your opponents will each try to maximize their winnings, with no collusion between any two party.

Edited by bushindo
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

im about to go to bed after a night out, so this is without work. so the solution is probably definitely right.

if your first 1/3 the diagonal from a corner and if you had to choose a position i would think third.

Link to comment
Share on other sites

  • 0

if i were first player i'd probably play dead center of the square. this makes it the hardest for the other three players to get more than 25 percent, assuming they don't collude.

however i believe the best player to be would be fourth, as you essentially have perfect information, and can calculate how to maximize the most area.

Link to comment
Share on other sites

  • 0

An intriguing problem, indeed. I have some thoughts

which may be of some help in approaching it:

If we drop down a dimension to the unit interval, one would hope that the problem would be a lot easier. Even though we are now dealing with lengths instead of areas, it still seems to be quite difficult. Discussion of this one-dimensional case may prove fruitful. I thought of this because there exist one-to-one functions between the unit interval and the unit square (although they can't be continuous).

Edited by bonanova
spoiler added
Link to comment
Share on other sites

  • 0

(this is a voronoi diagram, isn't it?? Kind of reminds me of a multi player supermarket problem...)

Well, a two player optimal game is for player 1 to play in the exact center, which is sqrt(2)/2, sqrt(2)/2. Any other place reduces his payoff while increasing his opponent's. I think, that the optimal strategy, for player n+1 is to create the largest area from the current largest polygon on the board.

I can't quite get it up to three or more players. I'm thinking that each player should play along the diagonal at some portion of the number of players left or something. I just cannot think of where to go (i.e. the starting point).

My brain is fried now..

Link to comment
Share on other sites

  • 0

1) Suppose that you are playing this game, and you have to go first.

Where would you mark your point?

On a diagonal, slightly more than 1/3 from a corner.

2) suppose that you are playing this game, and you're offered the choice to go first, second, third, or last

which would you pick to ensure the highest expected winning?

Assuming smart play, 3rd.

Assuming greedy play, 4th.

Note that the area you own after playing can only decrease as the game goes on.

Player 1 (P1) begins by marking at (x, y).

P2 maximizes his area, temporarily, by playing arbitrarily close to [x, y], toward the center,

in such a way that their boundary line has slope m = y/x.

Then

A1 = 1/2 [mx2 + 2xy + y2/m] If P1 marks center then A1 = 1/2.

A2 = 1 - A1.

There are two ways to optimize strategy: [1] Greedy, maximizing your temporary area or [2] Smart, maximizing your final area.

In the case of two players, Greedy and Smart obtain the same result: each gets half the square.

Continuing the Greedy algorithm, P3 marks on the line joining the first two, arbitrarily close to mark2.

That makes A3 = 1/2 and shrinks A2 to 0.

P4 does the same, making A4 = 1/2 and A3 = 0.

Note that P3 and P4 can choose which preceding area to annihilate; only P4 is assured of 1/2 the area.

Using the Greedy strategy, it's best to play last. [Question 2]

Using the Smart strategy, you worry about how the succeeding players will mark.

Between two moves, you choose the better of their worst outcomes.

To begin, let's suppose the first two marks are "vertically adjacent", splitting the square into upper and lower halves.

P3 now might mark 90o away so that he grabs 1/2 the area [say the left half] and leaves A1 = 1/4 and A2 = 1/4 to share the right half.

This is still futile for P3, since P4 can still reduce A3 to a strip of zero width and claim A4 = 1/2 to win.

So P3 must mark an arbitrarily small but nonzero distance [say .001] to the left [say] of the first two marks.

Why does that matter?

Because P4 will be better off [garnering 1/2 the area] marking adjacent to the right of the first two marks, leaving A3 just short of 1/2.

Thus

A1 = .0005

A2 = .0005

A3 = .499

A4 = .5

So if P1 and P2 are Greedy, they lose essentially everything to P3 and P4.

If P3 is smart, he comes arbitrarily close to winning.

A Greedy or Smart P4 [the final player is Smart to be Greedy!] wins, with half the square.

Clearly P1 and P2 must not play Greedy.

suggests P1 should mark at 1/3 diagonal from a corner. Let's analyze that case.

If P2 is greedy he will mark adjacent, toward the center.

Then

A1 = 2/9

A2 = 7/9

P1 knows that 2/9, being less than 1/4 and incapable of increasing, cannot win.

But he knows that P2 [knows that he] can be wiped out by marking "adjacent", so it's worth analyzing this opening.

P2 must mark some distance away [or risk being wiped out]. Say he marks center.

Then

A1 = 25/72 = .347222... now capable of winning

A2 = 47/72 = .652777... will be attacked in favor of A1.

Suppose P3 marks 2/3 diagonal from same corner [mark 2 lies directly between marks 1 and 3]

Then

A1 = 25/72 = .347222 ...

A2 = 11/36 = .305555 ...

A3 = 25/72 = .347222 ...

So far, P1 and P3 have played wisely, while P2 might have played better; we'll see.

Can P4 win from this position? No!

If P4 marks on the same diagonal, he at best shares some of A1, letting P3 win [or v.v.]

Suppose he marks 1/3 diagonal from a different corner; this yields

A1 = 20/72 = .27777 ...

A2 = 13/72 = .18055 ...

A3 = 20/72 = .27777 ...

A4 = 17/72 = .23611 ...

That's the best P4 can do, so he cannot win this scenario.

But we can improve P3's mark by moving it slightly toward center.

This leaves A1 unchanged, but increases A3 at the expense of A2, still leaving P4 powerless to win.

In this scenario, P3 wins.

That suggests P1 should mark closer to center.

It can't be on center, because then P2 marks 1/3 diagonal from corner, exchanging their roles, making P1 lose.

P2 is squeezed by P1 and P3 if they mark equal distances from center along a common diagonal.

This suggests P2's best move is not center, but farther along the diagonal.

There's more work to finish this analysis, but it does seem clear, using Smart strategy,

that the first three players can cover the square well enough to make it impossible for P4 to win.

P4 wins with Greedy play, but who wins with Smart play?

I would choose to mark third.

P1 and P4 seems to be a tossup for next favorable, although P1 is perhaps better off.

P2 seems doomed to lose in all cases.

Link to comment
Share on other sites

  • 0

1) Suppose that you are playing this game, and you have to go first.

Where would you mark your point?

On a diagonal, slightly more than 1/3 from a corner.

2) suppose that you are playing this game, and you're offered the choice to go first, second, third, or last

which would you pick to ensure the highest expected winning?

Assuming smart play, 3rd.

Assuming greedy play, 4th.

Note that the area you own after playing can only decrease as the game goes on.

Player 1 (P1) begins by marking at (x, y).

P2 maximizes his area, temporarily, by playing arbitrarily close to [x, y], toward the center,

in such a way that their boundary line has slope m = y/x.

Then

A1 = 1/2 [mx2 + 2xy + y2/m] If P1 marks center then A1 = 1/2.

A2 = 1 - A1.

There are two ways to optimize strategy: [1] Greedy, maximizing your temporary area or [2] Smart, maximizing your final area.

In the case of two players, Greedy and Smart obtain the same result: each gets half the square.

Continuing the Greedy algorithm, P3 marks on the line joining the first two, arbitrarily close to mark2.

That makes A3 = 1/2 and shrinks A2 to 0.

P4 does the same, making A4 = 1/2 and A3 = 0.

Note that P3 and P4 can choose which preceding area to annihilate; only P4 is assured of 1/2 the area.

Using the Greedy strategy, it's best to play last. [Question 2]

Using the Smart strategy, you worry about how the succeeding players will mark.

Between two moves, you choose the better of their worst outcomes.

To begin, let's suppose the first two marks are "vertically adjacent", splitting the square into upper and lower halves.

P3 now might mark 90o away so that he grabs 1/2 the area [say the left half] and leaves A1 = 1/4 and A2 = 1/4 to share the right half.

This is still futile for P3, since P4 can still reduce A3 to a strip of zero width and claim A4 = 1/2 to win.

So P3 must mark an arbitrarily small but nonzero distance [say .001] to the left [say] of the first two marks.

Why does that matter?

Because P4 will be better off [garnering 1/2 the area] marking adjacent to the right of the first two marks, leaving A3 just short of 1/2.

Thus

A1 = .0005

A2 = .0005

A3 = .499

A4 = .5

So if P1 and P2 are Greedy, they lose essentially everything to P3 and P4.

If P3 is smart, he comes arbitrarily close to winning.

A Greedy or Smart P4 [the final player is Smart to be Greedy!] wins, with half the square.

Clearly P1 and P2 must not play Greedy.

suggests P1 should mark at 1/3 diagonal from a corner. Let's analyze that case.

If P2 is greedy he will mark adjacent, toward the center.

Then

A1 = 2/9

A2 = 7/9

P1 knows that 2/9, being less than 1/4 and incapable of increasing, cannot win.

But he knows that P2 [knows that he] can be wiped out by marking "adjacent", so it's worth analyzing this opening.

P2 must mark some distance away [or risk being wiped out]. Say he marks center.

Then

A1 = 25/72 = .347222... now capable of winning

A2 = 47/72 = .652777... will be attacked in favor of A1.

Suppose P3 marks 2/3 diagonal from same corner [mark 2 lies directly between marks 1 and 3]

Then

A1 = 25/72 = .347222 ...

A2 = 11/36 = .305555 ...

A3 = 25/72 = .347222 ...

So far, P1 and P3 have played wisely, while P2 might have played better; we'll see.

Can P4 win from this position? No!

If P4 marks on the same diagonal, he at best shares some of A1, letting P3 win [or v.v.]

Suppose he marks 1/3 diagonal from a different corner; this yields

A1 = 20/72 = .27777 ...

A2 = 13/72 = .18055 ...

A3 = 20/72 = .27777 ...

A4 = 17/72 = .23611 ...

That's the best P4 can do, so he cannot win this scenario.

But we can improve P3's mark by moving it slightly toward center.

This leaves A1 unchanged, but increases A3 at the expense of A2, still leaving P4 powerless to win.

In this scenario, P3 wins.

That suggests P1 should mark closer to center.

It can't be on center, because then P2 marks 1/3 diagonal from corner, exchanging their roles, making P1 lose.

P2 is squeezed by P1 and P3 if they mark equal distances from center along a common diagonal.

This suggests P2's best move is not center, but farther along the diagonal.

There's more work to finish this analysis, but it does seem clear, using Smart strategy,

that the first three players can cover the square well enough to make it impossible for P4 to win.

P4 wins with Greedy play, but who wins with Smart play?

I would choose to mark third.

P1 and P4 seems to be a tossup for next favorable, although P1 is perhaps better off.

P2 seems doomed to lose in all cases.

This applet really helps. Make sure that you overlaid a grid on the applet, and drag the points around to see how the area varies. Put your mouse over a point until the icon changes into a cross-hair, then you can click and hold to drag the point around.

http://www.voronoigame.com/VoronoiGameApplet.html

Bonanova's analysis i think makes the assumptions that P2 will make a mark that is immediately next to P1 (almost right on top of each other). While that gives P2 an immidiate edge, over the long run it is not a smart play, as bonanova observed that P2 is bound to do worst with that strategy. P2 is better off making a move that is in another corner of the square, either directly opposite P1 on the diagonal, or claim a point on the other perpendicular diagonal. In general, no player wants to play a mark so that it has a chance of being completely enclosed in a small triangle made up of the other 3 points.

I agree that P1 should claim a point off-center on some diagonal. If he claim the center, the other 3 can surround him (completely enclose him inside the triangle made up by P2-P4's markers), and he would have the smallest area. He should play a distance of about .3-.33 of the diagonal away from the vertex though.

Now, after playing with the applet a couple of times, I think that P1 and P2 does not have the chance to win. P3 and P4, depending on how they play, can get up to 28% of the area, regardless of how optimal P1 and P2 plays. P4,i think, is the best position to be. P4, by playing arbitrarily close to one of the 3 earlier points, can get an area above 25%.

it's early, and I need to go somewhere, I'll elaborate more later.

Edited by bushindo
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...