Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: 1 ... 55 56 [57] 58 59 ... 139  All

Author Topic: Easy Puzzles  (Read 817063 times)

0 Members and 3 Guests are viewing this topic.

eHalcyon

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8689
  • Respect: +9187
    • View Profile
Re: Easy Puzzles
« Reply #1400 on: April 08, 2015, 06:36:27 pm »
+1

Do I have to play the choice card immediately?  If not:

My two cards were Minion and Duplicate.  I was going to play Minion for coins followed by Duplicate, just to get it onto the Tavern mat.  But you played Margrave, allowing me to draw Necropolis (or some other village).  I am thus able to play Necropolis and Duplicate before playing Minion to redraw.

Edit: My two cards are Minion and Vault.  I really want to buy a $5 card.  I plan on discarding with Minion because I expect Vault will only draw junk (and only reach $4 with Minion).  You play Torturer, giving me a Curse in hand.  Now I can play Minion for +$2 followed by Vault to reach $5.

Note, Vault actually does have a difference with Throne Room, but only with opponents.  You could have a similar scenario but with Secret Chamber and only wanting to hit $3, or maybe have a Merchant Ship in play or something.
« Last Edit: April 08, 2015, 06:41:00 pm by eHalcyon »
Logged

Asper

  • Governor
  • *****
  • Offline Offline
  • Posts: 4995
  • Respect: +5349
    • View Profile
Re: Easy Puzzles
« Reply #1401 on: April 08, 2015, 07:07:41 pm »
+1

Do I have to play the choice card immediately?  If not:

My two cards were Minion and Duplicate.  I was going to play Minion for coins followed by Duplicate, just to get it onto the Tavern mat.  But you played Margrave, allowing me to draw Necropolis (or some other village).  I am thus able to play Necropolis and Duplicate before playing Minion to redraw.

Edit: My two cards are Minion and Vault.  I really want to buy a $5 card.  I plan on discarding with Minion because I expect Vault will only draw junk (and only reach $4 with Minion).  You play Torturer, giving me a Curse in hand.  Now I can play Minion for +$2 followed by Vault to reach $5.

Note, Vault actually does have a difference with Throne Room, but only with opponents.  You could have a similar scenario but with Secret Chamber and only wanting to hit $3, or maybe have a Merchant Ship in play or something.

My solution only plays the choice card, but Duplicate/Minion is okay. Vault draws two cards, so it stacks with Throne Room. Or am i misunderstanding something?
Logged

eHalcyon

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8689
  • Respect: +9187
    • View Profile
Re: Easy Puzzles
« Reply #1402 on: April 08, 2015, 07:10:20 pm »
0

Do I have to play the choice card immediately?  If not:

My two cards were Minion and Duplicate.  I was going to play Minion for coins followed by Duplicate, just to get it onto the Tavern mat.  But you played Margrave, allowing me to draw Necropolis (or some other village).  I am thus able to play Necropolis and Duplicate before playing Minion to redraw.

Edit: My two cards are Minion and Vault.  I really want to buy a $5 card.  I plan on discarding with Minion because I expect Vault will only draw junk (and only reach $4 with Minion).  You play Torturer, giving me a Curse in hand.  Now I can play Minion for +$2 followed by Vault to reach $5.

Note, Vault actually does have a difference with Throne Room, but only with opponents.  You could have a similar scenario but with Secret Chamber and only wanting to hit $3, or maybe have a Merchant Ship in play or something.

My solution only plays the choice card, but Duplicate/Minion is okay. Vault draws two cards, so it stacks with Throne Room. Or am i misunderstanding something?

Errrrr, no.  That was a brain fart.

Secret Chamber though.  It works there. :P
Logged

Asper

  • Governor
  • *****
  • Offline Offline
  • Posts: 4995
  • Respect: +5349
    • View Profile
Re: Easy Puzzles
« Reply #1403 on: April 08, 2015, 07:14:52 pm »
0

Could be Torturer, Hamlet, Library... Not sure if discarding two cards instead is what was meant by different choice.

The choice card is your choice when you play it. Hamlet and Library are "may", so you can argue they are choice cards, and of course Workshop and Chapel give implicit choices, but i'm thinking of cards where the choices are spelled out on the card, with a "choose" on it, like Stuart. Narrows it down a bit.
Logged

eHalcyon

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8689
  • Respect: +9187
    • View Profile
Re: Easy Puzzles
« Reply #1404 on: April 08, 2015, 07:17:41 pm »
+1

My two cards are Count and Secret Chamber (or Watchtower, or Library, or whatever).  I was going to use Count to discard SC, but you played Margrave and I drew a card worth saving (maybe with the help of Secret Chamber) so I topdeck with Count instead.
Logged

Asper

  • Governor
  • *****
  • Offline Offline
  • Posts: 4995
  • Respect: +5349
    • View Profile
Re: Easy Puzzles
« Reply #1405 on: April 08, 2015, 07:23:48 pm »
0

My two cards are Count and Secret Chamber (or Watchtower, or Library, or whatever).  I was going to use Count to discard SC, but you played Margrave and I drew a card worth saving (maybe with the help of Secret Chamber) so I topdeck with Count instead.

Count/SC makes sense, and even plausibly uses the non-scaling card. Nice, if not what i thought about :-)
Logged

Asper

  • Governor
  • *****
  • Offline Offline
  • Posts: 4995
  • Respect: +5349
    • View Profile
Re: Easy Puzzles
« Reply #1406 on: April 08, 2015, 08:02:22 pm »
+3

Oh, and now that a legitimate solution was posted, here's mine:

Your hand is Squire and Counting House. You plan to play Squire for Actions, to play Counting House, get to $6 and buy a Gold. Your opponent plays Haunted Woods. You change your plans, choose two buys instead and buy three Coppers. You topdeck your Counting House, so next turn you will certainly be able to buy a Province, maybe even a Colony. Of course this assumes your deck has at least 4 cards in it.
Logged

Dingan

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1154
  • Shuffle iT Username: Dingan
  • Respect: +1731
    • View Profile
    • Website title
Re: Easy Puzzles
« Reply #1407 on: April 09, 2015, 09:55:12 am »
0

I have z Duchies and Dukes.  That is, I have x Duchies and y Dukes, where x + y = z.  For a constant z, what should x and y be to maximize my VP?  I.e. what is y in terms of x (or x in terms of y)?  Explain why (I like math).
Logged

ephesos

  • Explorer
  • *****
  • Offline Offline
  • Posts: 347
  • Shuffle iT Username: Ephesos
  • Respect: +291
    • View Profile
Re: Easy Puzzles
« Reply #1408 on: April 09, 2015, 10:21:07 am »
+4

Time for some Lagrange multipliers!
Optimization function: VP(x,y)=x*y+3*x
Constraint: z(x,y)=x+y=constant
dz/dy=dz/dx=1
dVP/dy=x,dVP/dx=3+y
These vectors must be in the same direction, with a Lagrange multiplier -L applied:
(dz/dx,dz/dy)=L(dVP/dx,dVP/dy)=(L dVP/dx,L dVP/dy)
L dVP/dx=dz/dx, L dVP/dy=dz/dy
1=Lx, L=1/x
1=(3+y)/x, x=3+y
« Last Edit: April 09, 2015, 10:24:36 am by ephesos »
Logged

liopoil

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2587
  • Respect: +2479
    • View Profile
Re: Easy Puzzles
« Reply #1409 on: April 09, 2015, 10:29:01 am »
0

Surely you don't need that fancy stuff to see intuitively that x - 3 = y, and that if this is not possible for a given z, then it is possible for z-1 and that the zth duchy/duke can be either one. If we assume that if we maximize the VP for each z < zactual in sequence we get the right answer (not quite sure how to proove that, induction or something), then we see that after z3 we simply alternate buying duchies and dukes. (also provable by induction)
« Last Edit: April 09, 2015, 10:33:24 am by liopoil »
Logged

Deadlock39

  • Torturer
  • *****
  • Offline Offline
  • Posts: 1722
  • Respect: +1758
    • View Profile
Re: Easy Puzzles
« Reply #1410 on: April 09, 2015, 10:32:26 am »
0

The number of points from Duchies is 3x, and the number of points from Dukes is xy.

Points = 3x + xy. 
    Substitute y = z - x
Points = 3x + x(z - x)
Points = 3x + xz - x^2
Points = -x^2 + (z + 3)x

By inspection, this is a parabola with a single local max. Derive and solve for 0 to find local max (Knowing how parabolas work is left as an exercise for the reader.)

0 = -2x + (z + 3)
2x = (z + 3)
*x = (z + 3) / 2
    Second solution by substituting x = z - y
z - y = (z + 3) / 2
-y = (z + 3) / 2 - z
y = z - (z + 3) / 2
y = 2z / 2 - (z + 3) / 2
y = (2z - (z + 3)) / 2
*y = (z - 3) / 2

Duchies = (z + 3) / 2
Dukes = (z - 3) / 2

Because Dukes and Duchies cannot be non-integer values even values of z do not properly solve the equation.  Because we know parabolas are symmetrical (still left as an exercise for the reader), we know in this case that substituting Duchies + 0.5 or Duchies - 0.5 will result in the same maximum number of points.

For z < 3, this solution produces an invalid negative number of Dukes. In this case Dukes must be assigned the minimum possible value of 0.  Substitution yields Duchies = z for this case.

(This notation is probably blasphemous, but... meh)

For z < 3:
Duchies = z
Dukes = 0

For z >= 3
Duchies = (z + 3) / 2 } if z odd
Dukes   = (z - 3) / 2 } if z odd
Duchies = (z + 3) / 2 +/- 0.5 } if z even
Dukes   = (z - 3) / 2 -/+ 0.5 } if z even

Dingan

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1154
  • Shuffle iT Username: Dingan
  • Respect: +1731
    • View Profile
    • Website title
Re: Easy Puzzles
« Reply #1411 on: April 09, 2015, 10:40:31 am »
+4

Time for some Lagrange multipliers!
Optimization function: VP(x,y)=x*y+3*x
Constraint: z(x,y)=x+y=constant
dz/dy=dz/dx=1
dVP/dy=x,dVP/dx=3+y
These vectors must be in the same direction, with a Lagrange multiplier -L applied:
(dz/dx,dz/dy)=L(dVP/dx,dVP/dy)=(L dVP/dx,L dVP/dy)
L dVP/dx=dz/dx, L dVP/dy=dz/dy
1=Lx, L=1/x
1=(3+y)/x, x=3+y

This is my favorite answer, which I actually like to put in non-calculus terms:

VP(x,y) = xy + 3x = (x)(y+3)
Let (x) and (y+3) be the sides of a rectangle, so that VP is the area of the rectangle.  You want to maximize the area of the rectangle with a constant perimeter (perimeter is constant because perimeter = 2(x) + 2(y+3) = 2z+6 = constant).  Everyone knows that with a given perimeter, the largest rectangle you can make is a square.  So x = y + 3.
« Last Edit: April 09, 2015, 10:41:49 am by Dingan »
Logged

liopoil

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2587
  • Respect: +2479
    • View Profile
Re: Easy Puzzles
« Reply #1412 on: April 09, 2015, 11:08:20 am »
0

Ooo, that is good. I think all three of our solutions are pretty much getting at that same idea.
Logged

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9631
    • View Profile
Re: Easy Puzzles
« Reply #1413 on: April 09, 2015, 11:59:51 am »
0

23456
23456
2345
345678
23456

What's the next set of numbers, and what is the pattern?
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

AJD

  • Cartographer
  • *****
  • Offline Offline
  • Posts: 3296
  • Shuffle iT Username: AJD
  • Respect: +4443
    • View Profile
Re: Easy Puzzles
« Reply #1414 on: April 09, 2015, 12:01:48 pm »
+1

23456
23456
2345
345678
23456

What's the next set of numbers, and what is the pattern?

123456
Logged

Witherweaver

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 6476
  • Shuffle iT Username: Witherweaver
  • Respect: +7868
    • View Profile
Re: Easy Puzzles
« Reply #1415 on: April 09, 2015, 12:02:48 pm »
+1

23456
23456
2345
345678
23456

What's the next set of numbers, and what is the pattern?

123456

That's the kind of thing an idiot would have on his luggage!
Logged

Elanchana

  • Minion
  • *****
  • Offline Offline
  • Posts: 697
  • Princess of Derpminion
  • Respect: +1013
    • View Profile
Re: Easy Puzzles
« Reply #1416 on: April 09, 2015, 12:29:32 pm »
0

23456
23456
2345
345678
23456

What's the next set of numbers, and what is the pattern?

23456
(0)123456
2345

...right?

It's the costs of all kingdom supply cards in each set by release date, yeah? Except Alchemy's not in there because the prices are all weird.
Logged
Sure it's just a game. The same way that your best friend in the whole world is "just a friend".

TwitchYouTubeMusic

!!CHANGED MY USERNAME ON 2.0!!

Witherweaver

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 6476
  • Shuffle iT Username: Witherweaver
  • Respect: +7868
    • View Profile
Re: Easy Puzzles
« Reply #1417 on: April 09, 2015, 12:32:15 pm »
+1

Time for some Lagrange multipliers!
Optimization function: VP(x,y)=x*y+3*x
Constraint: z(x,y)=x+y=constant
dz/dy=dz/dx=1
dVP/dy=x,dVP/dx=3+y
These vectors must be in the same direction, with a Lagrange multiplier -L applied:
(dz/dx,dz/dy)=L(dVP/dx,dVP/dy)=(L dVP/dx,L dVP/dy)
L dVP/dx=dz/dx, L dVP/dy=dz/dy
1=Lx, L=1/x
1=(3+y)/x, x=3+y

This is my favorite answer, which I actually like to put in non-calculus terms:

VP(x,y) = xy + 3x = (x)(y+3)
Let (x) and (y+3) be the sides of a rectangle, so that VP is the area of the rectangle.  You want to maximize the area of the rectangle with a constant perimeter (perimeter is constant because perimeter = 2(x) + 2(y+3) = 2z+6 = constant).  Everyone knows that with a given perimeter, the largest rectangle you can make is a square.  So x = y + 3.

I mean, you could just as easily say   "Everyone knows that f(x,y) is optimized subject to the constraint g(x,y) when Df = c*Dg."
Logged

werothegreat

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8172
  • Shuffle iT Username: werothegreat
  • Let me tell you a secret...
  • Respect: +9631
    • View Profile
Re: Easy Puzzles
« Reply #1418 on: April 09, 2015, 01:12:51 pm »
+1

23456
23456
2345
345678
23456

What's the next set of numbers, and what is the pattern?

23456
(0)123456
2345

...right?

It's the costs of all kingdom supply cards in each set by release date, yeah? Except Alchemy's not in there because the prices are all weird.

Skipping Alchemy was supposed to be a clue that I was skipping small sets, so the next set would be Dark Ages.
Logged
Contrary to popular belief, I do not run the wiki all on my own.  There are plenty of other people who are actively editing.  Go bother them!

Check out this fantasy epic adventure novel I wrote, the Broken Globe!  http://www.amazon.com/Broken-Globe-Tyr-Chronicles-Book-ebook/dp/B00LR1SZAS/

Elanchana

  • Minion
  • *****
  • Offline Offline
  • Posts: 697
  • Princess of Derpminion
  • Respect: +1013
    • View Profile
Re: Easy Puzzles
« Reply #1419 on: April 09, 2015, 03:24:23 pm »
+1

23456
23456
2345
345678
23456

What's the next set of numbers, and what is the pattern?

23456
(0)123456
2345

...right?

It's the costs of all kingdom supply cards in each set by release date, yeah? Except Alchemy's not in there because the prices are all weird.

Skipping Alchemy was supposed to be a clue that I was skipping small sets, so the next set would be Dark Ages.

Ohhhhhhhh. I thought it was because writing P2P3P4P6P would have been a dead giveaway but your reason is better.

Also I'm kind of amused that my phone thinks (0)123456 is a phone number.
Logged
Sure it's just a game. The same way that your best friend in the whole world is "just a friend".

TwitchYouTubeMusic

!!CHANGED MY USERNAME ON 2.0!!

ephesos

  • Explorer
  • *****
  • Offline Offline
  • Posts: 347
  • Shuffle iT Username: Ephesos
  • Respect: +291
    • View Profile
Re: Easy Puzzles
« Reply #1420 on: April 10, 2015, 09:05:46 am »
0

I mean, you could just as easily say   "Everyone knows that f(x,y) is optimized subject to the constraint g(x,y) when Df = c*Dg."
Well, it would be easiest to just say "Everyone knows x=y+3." But that would be boring.

You have to start somewhere though, otherwise you can't get anywhere. Whether you start at knowing squares are optimizers or parabolas are maximized at the vertex or functions are optimized with respect to a constraint if their gradient vectors are proportional just depends on how much of the underlying mathematics you want to show.
Logged

Witherweaver

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 6476
  • Shuffle iT Username: Witherweaver
  • Respect: +7868
    • View Profile
Re: Easy Puzzles
« Reply #1421 on: April 10, 2015, 09:48:59 am »
0

I mean, you could just as easily say   "Everyone knows that f(x,y) is optimized subject to the constraint g(x,y) when Df = c*Dg."
Well, it would be easiest to just say "Everyone knows x=y+3." But that would be boring.

No, because that's too out of context.  But once you define x and y, sure.

Quote
You have to start somewhere though, otherwise you can't get anywhere. Whether you start at knowing squares are optimizers or parabolas are maximized at the vertex or functions are optimized with respect to a constraint if their gradient vectors are proportional just depends on how much of the underlying mathematics you want to show.

Yeah, that was my point. 
Logged

Asper

  • Governor
  • *****
  • Offline Offline
  • Posts: 4995
  • Respect: +5349
    • View Profile
Re: Easy Puzzles
« Reply #1422 on: April 12, 2015, 08:17:29 pm »
+3

Band of Misfits consist of heavy drinkers. How can you tell?
Logged

ConMan

  • Saboteur
  • *****
  • Offline Offline
  • Posts: 1400
  • Respect: +1706
    • View Profile
Re: Easy Puzzles
« Reply #1423 on: April 12, 2015, 11:21:19 pm »
+4

Band of Misfits consist of heavy drinkers. How can you tell?
Because they can never remember what they did the last time they went out?
Logged

Asper

  • Governor
  • *****
  • Offline Offline
  • Posts: 4995
  • Respect: +5349
    • View Profile
Re: Easy Puzzles
« Reply #1424 on: April 13, 2015, 07:37:11 am »
0

Band of Misfits consist of heavy drinkers. How can you tell?
Because they can never remember what they did the last time they went out?

This is a very good answer and i wish it was mine ;D
Alas, it's not.

Edit: In case somebody wants a hint: This doesn't work in every kingdom.
« Last Edit: April 13, 2015, 07:39:14 am by Asper »
Logged
Pages: 1 ... 55 56 [57] 58 59 ... 139  All
 

Page created in 0.09 seconds with 21 queries.