I'm not a programmer, but I've recently come to enjoy building decks for the AI. One thing I've learned since I've started is that a good player deck does not necessarily translate into a good AI deck. There are a lot of reasons for this. Whether a player or AI, decisions need to be made concerning what card to play and how to use a card once it is played. The number of possible decisions each turn grows exponentially as more cards enter the battlefield. Given the complexity of Forge, now with over 5,000 cards implemented, one can only be amazed by what the developers have accomplished at this point. Still, the AI is limited and can make a lot of foolish decisions that can be irritating to a would be AI deck builder. I thought a useful exercise would be to post a deck that works very well as a player deck but poorly as an AI deck. I'll then attempt to provide an analysis of what goes wrong and give some lay suggestions of how any problems might be fixed. Remember all, I'm not a programmer, I'm just a fan of the game. I fully expect that any suggestions I have are 10 steps behinds the talented people working on this game every day. Also, talking about how to make a game better is a lot easier than actually writing the code to make it happen.
The Deck: Let's call it... Kiki Gone Wild
4 Academy Rector
4 Archon of Justice
2 Eternal Witness
4 Kiki-Jiki, Mirror Breaker
2 Meadowboon
2 Primeval Titan
2 Rukh Egg
2 Seedborn Muse
4 Seeker of Skybreak
4 Debtors' Knell
4 Doubling Season
2 True Conviction
4 Elspeth, Knight-Errant
4 Plateau
4 Reflecting Pool
4 Rootbound Crag
4 Savannah
4 Sunpetal Grove
4 Taiga
1 Mox Emerald
1 Mox Pearl
1 Mox Ruby
Everybody loves Kiki-Jiki, Mirror Breaker, right? You can make a beater deck with him quite easily, but if you try something more sophisticated like I've done, you're going to be disappointed.
First, why does this deck work well as a player deck?
Lots of synergy if you get Kiki-Jiki, Mirror breaker out:
Kiki-Jiki, Mirror Breaker + Academy Rector = automatically putting enchantments into play, which also thins your deck and increases the probability of drawing useful cards.
Kiki-Jiki, Mirror Breaker + Archon of Justice = exiling a target permanent.
Kiki-Jiki, Mirror Breaker + Eternal Witness = returning a permanent to your hand.
Kiki-Jiki, Mirror Breaker + Meadowboon = counters for all of your creatures.
Kiki-Jiki, Mirror Breaker + Primeval Titan = put any four lands into play, which also thins your deck.
Kiki-Jiki, Mirror Breaker + Rukh Egg = a 4/4 flying token that stays on the battlefield.
Kiki-Jiki, Mirror Breaker + Seedborn Muse = doing any of the above again on your opponents turn.
Kiki-Jiki, Mirror Breaker + Seeker of Skybreak = another Kiki combo.
That's 16 cards that combo with Kiki-Jiki, Mirror Breaker directly and another 6 that let Kiki-Jiki, Mirror Breaker repeat the combo. If Kiki-Jiki, Mirror Breaker hits the battlefield, he's almost guaranteed to have something useful to do.
But what if you never draw Kiki-Jiki, Mirror Breaker?
Only 4 of the 22 cards that combo with Kiki-Jiki, Mirror Breaker have limited usefulness without him, the Seeker of Skybreak, but even that card can be used to untap a creature that has just attacked such as an Archon of Justice or Primeval Titan.
The Debtors' Knell not only can return any creature to the battlefield, it also serves as a back-up Kiki-Jiki, Mirror Breaker. Need a Baneslayer Angel exiled? Just block with your Archon of Justice and bring him back to the battlefield to exile something else next turn.
Doubling Season is just sick in this deck. With the Academy Rector and Kiki-Jiki, Mirror Breaker in the deck, getting out all four copies of Doubling Season is actually quite easy. Ever have 16 copies of Archon of Justice flying at you at the same time? If you happen to survive the initial assault prepare to have 16 permanents exiled!
True Conviction speaks for itself, and is also easy to get into play thanks to the Kiki-Jiki, Mirror Breaker / Academy Rector combo.
Elspeth, Knight-Errant is mostly there for her ultimate which can be used as soon as she hits the battlefield as long as one copy of Doubling Season is out. This stabilizes the battlefield so that Kiki-Jiki, Mirror Breaker can do his thing. Having a bunch of indestructible tokens that can be buffed with Meadowboon doesn't hurt either.
As one can tell, I love this deck, which is why I wanted to share it with the community as an AI deck, but it just doesn't work as an AI deck. Let's examine some of the reasons why.
Often the AI will only block creatures when not blocking creatures means death. Many times have I seen the AI let creatures deal damage to it even if the AI's creatures could have killed the attacking creatures without suffering any losses. This often leaves the AI with little life to deal with threats in subsequent turns. This also means that planeswalkers have a more difficult time getting their ultimate abilities to go off. Admittedly, this is a problem that applies to every AI deck.
Solution: Have the AI attack by default only when it can block all possible counter attackers or when the damage output vs. expected damage taken exceeds some specified ratio. This isn't a perfect solution, but it should be better.
The AI doesn't know how to use permanents that have abilities that trigger when they go to the graveyard. Creatures like the Archon of Justice, Academy Rector, Meadowboon, and Rukh Egg are meant to take one for the team. As a player you might sometimes recognize that sacrificing them later rather than sooner is the appropriate tactic, but as a general rule, you want them to always block, regardless of resulting death.
Solution: Have creatures with abilities that trigger upon entering the graveyard behave as explained above.
The AI doesn't know how to handle permanents that put other creatures into play such as Kiki-Jiki, Mirror Breaker and Debtors' Knell. One game the AI had three permanents in the graveyard (Archon of Justice, Seeker of Skybreak, Eternal Witness) and two copies of Debtors' Knell on the battlefield. The AI brought back the Seeker of Skybreak and the Eternal Witness. I can't even begin to fathom how that decision was made. I at least expected the AI to bring back the most beefy creature.
Another game had Kiki-Jiki, Mirror Breaker on the battlefield with a Seeker of Skybreak and an Academy Rector. Kiki-Jiki, Mirror Breaker copied the Seeker of Skybreak. The copied Seeker of Skybreak then untapped the original Seeker of Skybreak which had untapped one of the opponents creatures. Once untapped, the original Seeker of Skybreak then untapped another of the opponents creatures. Needless to say, that was nothing like how I had envisioned that scenario playing out.
Solution: Let's first examine why a deck builder puts cards into a deck that brings creatures into play. The builder may just want to put more creatures into play or the builder might be expecting or even wanting the creatures to go to the graveyard and be recycled. Priority targeting should be given to cards that have effects upon entering the battlefield or going to the graveyard. Priority should then be given to the most beefy creatures or those creatures with the highest converted mana cost. Not a perfect solution, but the results would probably be better.
Planeswalkers perhaps love staying on the battlefield a little too much. They like to have that one loyalty cushion before setting off their ultimate abilities and sometimes don't even use them then. This often leads to them getting attacked and killed when they already had an opportunity to get that ultimate off.
Solution: As a default, planeswalkers should be getting their ultimates off as soon as possible. However, they should be checking to see if their emblem is already on the battlefield if the effects of the emblem don't stack (as is the case with Elspeth, Knight-Errant). This isn't a perfect solution, but more often than not it is probably better to get the ultimate off than to risk losing the planeswalker before using the ultimate.
These are the primary issues I encountered when trying to build this deck.
Before I end this post, I do want to point out one other problem with the AI that I've encountered when trying to build other decks. When the AI controls creatures on the battlefield that use mana to create tokens, the AI will just continue to pump out tokens and not play anything from their hands. Though this sometimes works as a strategy, more often than not it would be better to play cards first and then use any remaining mana to make tokens. The main culprits I'm referring to are Rhys the Redeemed and Sliver Queen.
If you've read this entire post, congratulations on you remarkable patience.
