You're really awesome
PROBLEM: I want to make magic decks with my cards irl, but I have no one to play them against.
SOLUTION: Make an entire custom deck that can play itself to more or less replicate an opponent.
I decided to put the rules in card form as conspiracy cards, but it turns out that rules should be written as rules, not cards, so I had to make extensive notes about each of them (except Industrial Expansion, that one is actually effects instead of rules). I also just enjoy talking about my design choices.
Notes: Creating waste tokens instead of playing lands is basically free card advantage, as well as preventing mana screw/flood. The bot is supposed to have more raw strength than the player, so this isn’t a huge problem, but the starting hand size reduction and 5 land limit are still needed balance it.
Also, I know wastes isn’t actually a basic land type, but it makes the card so much cleaner so "Wastes token" is a predefined token here just like Treasure and Food.
Notes: There’s probably some awkward edge cases here too. I fixed the only one I could find (involving Recycle Bin), but there might be more. The main guiding rule in playing the bot is "don’t make it do obviously dumb stuff." The cards are balanced around the rigid rules, so bad decisions are okay, but sometimes there are plays that are so worthless or actively counterproductive that you really ought to step in. Edge cases should be resolved in whatever way makes the bot play best. Ideally, you shouldn’t have to think too hard about what the bot does; it’s supposed to be automatic, after all. The other guiding rule is "make this similar to a normal game of Magic."
Notes: Much, much simpler than Defense Protocol. Still some vagueness, but good enough to prevent swinging into the opponent’s 4/4 with a 3/3. It applies on a creature-by-creature basis; if you have a 3/3 with flying and a 2/1, and your opponent has a 4/4, the 2/1 won’t attack, but the 3/3 will. If you have a 2/1 and a 5/4, only the 5/4 will attack since the 2/1 can be fully blocked by the 4/4.Non-lethal battles are tricky; if you have a 2/1 and the opponent has a 0/3, you shouldn’t attack because then you’re just tapping down your 2/1. But if you have a pair of 2/1s, you should attack for the free damage. You could reinterpret the "such that they lose no life" bit, but that would result in the rules telling you to swing your creatures into into a 4/4. Basically, use your best judgement; this stuff is too complicated to write out. You’re smart enough.
Notes:
This card would be a fucking nightmare to properly template. Good thing it’s a rule and not actually a card. The vague wording can probably result in lots of edge cases, but this card is basically meant to say "The bot makes the best blocks possible" so use your best judgement in those cases. Activated abilities that boost a creature should be taken into account if mana is open for them. A version of the blocking rules not in card form is given below.
Priority 1: If you can block in such a way that your life total remains above 0, you must do so.
Priority 2: If a blocker can deal lethal damage to an attacker and survive, it must block that creature.
Priority 3: If a blocker can deal lethal damage to an attacker, or if it can survive, it must block that creature.
Priority 4: Don’t block.
Misc 1: If multiple attackers are tied for the highest block priority, the blocker must block the creature with the highest power. If tied, highest toughness, then highest mana value, then choose randomly.
Misc 2: Multi-block an attacker only if it has menace or a similar ability, only with the minimum number of blockers, and only if it falls under a blocking priority (ex. it’s threatening to win the game, or it can be destroyed, or both your blockers survive). Anything else could be a nightmare to calculate.
And that's all the rules/conspiracies, which should allow for playing against the bot while making as few decisions as possible. Here's the cards. The bot's deck consists of 4 copies of each card for a clean 60 deck, compatible for testing against mill.
3 notes
·
View notes