Wednesday 10 February 2016

Gardens: An Introduction and Dominion Theory

Ah, Gardens. For a long time, you were my favorite card.
At some point, I determined to not lose to this card - which is probably how I got the itch for all the alternate VP that came later. It's true, though, that mastery over it is not a simple thing. I have learned an awful lot, and I think there's still a chunk out there that I have yet to bite off. But let's dive in.

Running in head-long
The most naive strategy in "going for Gardens" is to just buy as many as possible as soon as possible. People don't stay on that for very long, because it doesn't take much to figure out that your deck gets so bad, you actually have to build more to be able to afford all the Gardens. But it's not too uncommon to see players who do only a few turns of preparation before starting their charge into Gardens, buying every card possible as soon as possible (i.e. maximally jamming coppers into their decks), and trying to get lots of Gardens and lots of cards more or less ASAP. Let's take a look at a couple of examples to demonstrate this kind of approach.

Candlestick Maker
I have recently seen it floating around that Candlestick Maker is one of the better "Gardens enablers", with the implication that a headlong strategy here could make real strides. The idea was to end the game around turn 17, by which point it was supposed to be not uncommon to have 6 point Gardens. Memories can apparently be faulty: In order to get to 6 point Gardens, you need to add 50 cards to your starting deck. Turn 17 means 17 natural buys, which means you need 33 additional buys from CSMs. Work out the example yourself, and you'll see that even if you stack your deck, you can't get that many - indeed, you max out at 55 if my memory serves right. However, having a best-case-scenario mentality isn't very useful anyway, so what I'm going to do here is look more at an average case. Examples like the following can show the power of theory-crafting in planning out many kinds of strategies, broadly.

Turns 1-2 you are buying CSM. Turns 3-4 you are getting, most likely 3 more. How did I come up with 3? Well, the maximum possible is 4, but to get that, you need a CSM turn 3 with at least $4, another one turn 4 with at least $4. And you can float a token, potentially. However your deck is only capable of producing $9, and 2 cards miss the shuffle. If either of those is a CSM, you're done. If they're both coppers, you once again can't get there. If both CSMs fall in the same turn, you're once again hung out to dry. There are a lot of fail cases, and indeed it's not crazy unlucky to only get 2 more (though it is fairly unlucky). So 3 is a reasonable guess. Then turns 5,6,7 will be a single shuffle, in which you are pretty likely to get the remaining 5 CSMs. At this point, you are likely to have played CSM about 6 times. Assuming you're using all your spare buys for coppers, this means you're looking at somewhere around a 23 card deck. That means you're looking at a 4 turn shuffle next, and 1-2 CSMs, on average, missing that shuffle, with it being more likely for more to miss if you have been luckier earlier and have more cards now. 4 natural buys plus 9 CSM buys gets you 13 more cards, taking you after turn 11 to around a 36 card deck. This gives you a 7 turn shuffle, in which 0-1 CSMs will miss, most likely. Thus, after turn 18, you're looking at 53 cards.

Here is where we need to start looking at what exactly we're buying on these turns. Surely lots of the buys are heading to coppers. But we're also obviously going to want to buy actual things, too. And especially with the coin tokens to smooth us out, we don't want to waste any of the 'real' money we are producing. If we're playing this headlong rush, that means we will be buying Gardens. If we go back to the point at which we're anticipating the CSMs running out, at the end of a shuffle on turn 7, we see a 23 card deck with 3 Estates, 10 CSMs, and 10 Coppers. The money density of this deck is 20/23 or about 4.35 per hand. We can also anticipate having 1-2 tokens left when we enter this stage. Given that, it seems very likely that we'll be able to buy Gardens on each of these 4 turns, along with our 9 coppers. We're likely to pick up another couple tokens as well. This means that at the start of the shuffle on turn 12, our money density will be 29/36, which is a hair over 4 per turn. Thus, we can still Gardens-per-turn for the next 4. Following this, though, we're dropping off a bit, so by the time we go for Estates, we won't be able to double consistently. Overall, then, we're looking at 20-21 turns to be able to empty our 3 piles. If we look back, this is most likely going to leave us just shy of hitting 60 cards (which would take 1-2 additional turns, average case).

So what we end up with is: 20-21 turns to empty piles and end the game, 8 5-point Gardens, and 11 Estates, for a total of 51 points. This equals the number of points from a player who is able to empty all the Provinces without trashing their Estates or touching Duchies. Of course, the problem is that this simply isn't good enough. I'm not sure if this is even good enough to be straight-up Big Money. Probably yes, but only barely. Of course, they are almost always going to have some improvement on straight money, so you'd better have an improvement on straight CSM/Gardens if this is what you want to do.

Workshop
Workshop plays out in some ways very similarly to CSM. Gain a bunch of them, buy out of the Gardens, empty the Estates. It's the most classic rush strategy in the game. In this case, we are even Workshopping the Workshops (which is not great if you're contested, but as I often say, you want to consider non-mirrors when picking strategy, and only consider mirrors when implementing). Of course, Workshop is also terminal, which means you are going to be a little bit slower to empty them, but also means you want to stop 'shopping 'shops a bit before you actually empty them (buying the last 1 or 2 when you have exactly $3, or if it gets late enough, gaining them later on). The terminal-ness of the Workshop is a pretty big downside in comparison, but this is more than compensated for by the increased economic upside. When I gain Gardens, Workshop made $4. Even when I gain Workshop, it made $3, and $2 for Estate is still better than the $1 from a CSM. Of course, collisions happen, and without tokens, you probably aren't going to be able to use all of your $$ efficiently, providing some waste. This means you won't see the full benefit of the $4 economic potential.

Still, the games will start out playing more or less the same. Then, because you're worried about collision, you start gaining Gardens a turn or two faster. The key point is that throughout the period you are gaining Gardens, you're also buying other cards which actually help you end the game (mostly Estates), as opposed to just picking up coppers. 7 turns before you start greening, into about 9 turns of gaining Gardens+Estate, plus an extra turn to finish off stragglers means you are going to be finishing somewhere around turn 7. Of course, you're going to have gained way fewer cards in that time-span - we're looking at barely 4 point Gardens as opposed to almost 6 - but the increase in speed is a big deal. 43 points is enough to outlast 6 Provinces, which in all honesty is still not all that special, but it's quite a lot better.


Some Fundamental Concepts
There are two main approaches you can take with this kind of head-first charge for Gardens. One is to try to rush down and end the game. This is great if you can actually end things fast enough, but most often, that's just not going to be possible (the major exception, of course, is the card Ironworks). The other is to try to score incredibly large numbers of points. This also tends to not be great most of the time (Beggar is, once again, a very large exception).

Does that mean that the card isn't good? No, not at all. Does it mean it's doomed to be merely an alternative to Duchy as a means for getting a few extra points at the end of a game? Sometimes, but not always. It can still be the star of the show. How? Well, headlong rushes can still happen sometimes with multiple enablers. More to the point, if you build just long enough to be getting 1-2 Provinces and THEN dive for the Gardens, things can turn out well. But most often there are one of two strategies with which this card can get you there:

Aggro Pile
If you haven't checked it out, I might suggest my previous blog post to familiarize yourself with what this deck is all about. But how Gardens comes in is, if you add some kind of attack, particularly a junker, to the Headlong rush mix, then suddenly you are in business. You're emptying piles slower, but only slightly slower. More importantly, you are slowing your opponent down quite a lot, and while you certainly aren't shrugging the junk off yourself, it doesn't hurt you nearly as badly. This thus gives you enough time to finish up piling out without getting horribly outscored by an opponent going after the big cards.

Engine
I know, it might seem crazy. But in all honesty, engines tend to be the ways to maximize Gardens. Engines love Gardens. After I made that determination to not lose to Gardens, the way I most often did was when I went head-long, and my opponent opened Chapel... and then went for Gardens.

The thing to understand here is that engines are better suited to gain more cards over the long term than virtually any other deck. Once you get a running engine, it's very common to be gaining 3,4,5, even more cards every turn, as you add a little bit of payload and maintain your draw apparatus. Going straight for enablers doesn't permit that, and over a time-span of almost any length (look at the CSM as an example), you really aren't going to be doing better than 2 cards per turn that way. The fundamental problem is that as your deck gets bigger, your shuffles get longer, and you see your enabling cards less often. In contrast, as engines get bigger, they continue to see every enabling card nearly every turn - so even though they have fewer overall, they see them much more often.

Because of this, Engine decks routinely end up to be nearly the size of your more 'traditional' Gardens decks, and especially with the help of wasting a bunch of extra final-turn buys, they can often actually end up largely, sometimes by quite a substantial margin. Chapel-ing away ten cards is insignificant against an extra card or three per turn across the remainder of the game.




As an example of this, I would like to point to this game. Of course, this isn't a comparison to a head-long rush - my opponent didn't go for Gardens, and indeed this would have been a clobbering regardless. But the point is that, in 13 turns, I was able to gain 8 Gardens and have them all be worth 5 points, and you don't do that by rushing them, you do it by building an engine. The reason why this is so powerful in an engine is that it gives you a lot of flexibility, because it's a massive well of points which you can 'float'. If your opponent goes straight for Gardens, you clean up by just taking down all the Provinces. If, though, they go for Provinces, then you have a massive reserve of points waiting for you in the form of Gardens, which means you don't really need to worry about losing a Province split by any margin other than 8-0.


Of course, there's a lot more to the card than this, but I hope this introduction has been helpful.

Saturday 6 February 2016

Dominion: The Aggro Pile Deck

Aggro Pile:

One of my favourite strategies is to go for speed. To end the game on my terms. To take hold and bring it to an end before the opponent can really deploy their long-term strategy. Speed, not power.

This means three-piling. You need a few things for this to go right: the ability to get piles out, the ability to control when they empty, score enough points (and know how many that is), in the process. Usually, it also means doing something to slow your opponent down, as even mediocre Big Money decks are capable of scoring a reasonable number of points fairly quickly.

But WW, isn't this just a slog?
No. In a slog, at least how I'm thinking about it, you’re trying to get a matrix of VP points that is insurmountable. Your win condition is to get so many VP the opponent can never come back. In, contrast, aggro-pile decks aim to get the piles out and end the game before your opponent’s (typically superior) deck can get going enough to catch up with you. Your deck is not about scoring all the points possible, but rather about having all the pile control you can get, and having just enough pop to score a little more than the opponent.

Typically, you’re going to want your opponent to help you out in emptying at least one of the piles. Most often this comes from junking attacks (where, if they skip it, you’re going to crush them anyway - this is weakened significantly by the very strongest thinning). However, there are also some piles that just naturally you want to empty pretty fast - Fishing Village is a classic example.

Indeed, you generally need a combination of 2 enablers and/or naturally-emptying piles, and you will have time to knock the last one out by yourself. So Ruins AND curses works well, or a card like Fishing Village with either kind of junk, or some decent to nice gainer with a fast-emptying pile or junk.

Most often, you’ll be piling out with Duchies as that third pile. And you tend to start just hacking away at them near when there are a few gains left to 2 empty piles, and simply ride them hard until they’re gone.

















It’s also possible to actually just blitz out piles, though this is quite a bit rarer. Ironworks is a key enabler for the rush, particularly with some Kingdom VP pile it can gain, since actually having 2 of your 3 piles be VP gives you obviously more points, which translates to a little more time. Stonemason is another big card here, as it can get rid of piles very fast. Same goes with Procession.







When playing against this kind of strategy, you typically want to not do something too fancy - that tends to be the number one way that Aggro Piles actually gets the time it needs. At the same time, you don’t want to touch Duchies at all, unless you’re either winning on the spot, completely locking them out (e.g. taking the penultimate Duchy with a substantial lead), or just contesting full bore in a mirror. 

Big Money tends to be a pretty bad matchup for this kind of deck, so you need to have a plan of defeating that as well. Indeed, Aggro Pile is a deck style which must always be very reactive to what your opponent is doing, and in most cases actually needs to have some kind of bailout plan as well - either you are an engine with an eye towards clamping down on the piles, or you have some kind of reasonable Big Money/Slog game-plan in case they go for points straightforwardly. It tends to be important to develop these fallback plans before comitting too hard to Aggro Pile.












Key Enablers in rough order from best to worst:
Junk: Ill-Gotten Gains (two piles by itself), Marauder, Young Witch, Cultist (which can sometimes be a second pile, but being this expensive is very risky), Mountebank, Sea Hag, Familiar, Soothsayer (though this is often more suited to Slogs)

Gainers: Stonemason, Procession, Ironworks, Border Village, Armory, Death Cart, Squire, Salvager, Workshop, etc. I want to point out City, as well, because if you can turn the corner on them at the right moment, it's often possible to slam down e.g. the Estate pile.

Empty-able Piles: Ruin, Curse, Stonemason, Fool's Gold, Squire, Hamlet, Duchess, Pawn, Pearl Diver (etc), often board-dependent, but things like Fishing Village, Ironmonger, etc that people just snap up at every chance because the cost is so low (and they’re so good)....







Example Games:
http://gokosalvager.com/static/logprettifier.html?http://dominion-game-logs.s3.amazonaws.com/game_logs/20151124/log.0.1448393618472.txt
Marauder, Cultist, Familiar - junk is flowing, you have multiple piles that are going to fall, so you can really start playing for the 3rd pile. I think Marauder over Cultist is very important here, since the spoils are good, drawing is less good (with a deck full of junk), and chaining is quite unlikely (and also has a chance to skip your Familiars. The important point is that treasures are good, which is very common in these kinds of games. My opponent shouldn't have bought the Duchy, but it's very unlikely they can get to 2 Colony and a Province in time, anyway.

http://gokosalvager.com/static/logprettifier.html?https://dominion-game-logs.s3.amazonaws.com/game_logs/20151127/log.0.1448643955753.txt
Here we have IGG. Trader provides some defense, but also a combo. Jester helps, and FV isn't too bad, either. Notably, Duchess provides a great 3rd pile as well.
  
http://gokosalvager.com/static/logprettifier.html?https://dominion-game-logs.s3.amazonaws.com/game_logs/20151127/log.0.1448655452593.txt
Young Witch can make both Curses and Banes empty, and with Familiar available, this is a good bit more likely. Hamlet is another third pile, and so some jockeying for positions should have happened. Pile awareness here allowed me to steal this one.

http://gokosalvager.com/static/logprettifier.html?https://dominion-game-logs.s3.amazonaws.com/game_logs/20151208/log.0.1449533322065.txt
Again, Curses and Ruins both running, Hunting Party is one of those stacks that tend to run, and we even have Stonemason for more shenanigans. 

http://gokosalvager.com/static/logprettifier.html?https://dominion-game-logs.s3.amazonaws.com/game_logs/20151230/log.0.1451490645872.txt
This one is all about piles that want to run (Highway, Market Square, Minion), plus the obscene power of Stonemason. In these kinds of games, you need to be very aware of what you need to do to run the game out, as well as what your opponents can do for the same.

http://gokosalvager.com/static/logprettifier.html?https://dominion-game-logs.s3.amazonaws.com/game_logs/20160107/log.0.1452205936848.txt 
Another example in the same vein as the previous.

http://gokosalvager.com/static/logprettifier.html?https://dominion-game-logs.s3.amazonaws.com/game_logs/20160107/log.0.1452191577234.txt
An example of the Procession style here. Very often you can process into process into mroe stuff into more stuff, emptying out LOTS of cards in a single turn. Note that you need to green pretty early to defend against your opponent doing do.

http://gokosalvager.com/static/logprettifier.html?http://dominion-game-logs.s3.amazonaws.com/game_logs/20151119/log.0.1447972595341.txt
You didn't expect me to leave you without an example of a classic Ironworks rush, did you? The raw speed and power is on display here, since even facing down Goons on a Colony board, and totally uncontested (which is correct unless you want to mirror and contest fully), I'm able to knock out all the piles (and even nab a duchy) for a blistering 54 points and end the game in a mere 16 turns.