MTG Hivemind: Artificial Intelligence Designing Magic the Gathering Cards
medium.com
medium.com
For some reason "computer gets thing slightly (or wildly) wrong" is the pinnacle of comedy to my brain.
Maybe the Corona virus did not start with bat soup in China after all :O
But Goblins, Wikipedia says, “are almost always small and grotesque, mischievous or outright malicious”. Thus support is found for a connection between Coronus Goblin and COVID-19.
This is on purpose -- to show the "intelligence" of the network that created it.
Rarity -> Colors and Mana Cost -> Type(s) -> Name -> Power/Toughness (if needed) -> Description
This approach would ensure consistency and avoid the challenge of finding the right mana cost that he mentions. Anyway, this is a super fun project and a nice write-up!
Some of the cards that are presented as being "good" or even "gems" actually dont' make a lot of sense. In fact, every single card shown in that article has some kind of flaw- either the concept is all over the place, or the ability text is incorrect, or both.
A few examples, starting with the three "gems" listed towards the end of the article as surprisingly good stuff you find once in a while:
Sick Strength
RR
Creature - Nomad
Haste.
Whenever Sick Strength deals combat damage to a player, sacrifice all other
creatures you control
3/2
This is probably the one that the author of the article considers the "jewel
in the crown" because it seems to make sense. But - a creature called "Sick
Strength"? Of type "Nomad"? A creature called "Strength" should be of a type
denoting some kind of elemental property, e.g. "Avatar" or "Elemental
Incarnation" etc. Or just "Elemental". In any case, a red card called "Sick Strength" should probably be a sorcery, or instant (and most likely one granting a P/T bonus). Mastery of the Unseen
2UU
Creature - Trilobite
Blue instant and sorcery spell you control have flying The same is true for
flying, deathtouch, haste, landwalk, protection, trample, and vigilance.
Wait, protection - from what? Protection must be protection from something,
like "Protection from Black" or "Protection from Creatures" or even
"Protection from converted mana cost 2" etc. Also, Flying (twice),
deathtouch, haste, landwalk, trample and vigilance are all crature abilities,
but while Mastery Of The Unseen itself is a creature, it grants those
abilities to instants and sorceries. This card doesn't work. But, cool name (though totally not for a creature).[Edit: also note the ungrammatical use of singular "spell" for "Blue instant and sorcery".]
Dreamspoile Right
WGG
Creature - Dryad
Sacrifice a forest: Dreamspoile Right gets -1/+1 and gainst vigilance until
end of turn.
4/3
Actually, this one's pretty decent. The ability even fits right into the
colours of the card and the overall theme is fine. The name is off though.
"Dreamspoile"? Not "Dreamspoiler"? Taste of Blood
1UU
Creature - Elemental
Flying.
When Taste of Blood dies, exile it with two time counters on it and it gains
suspend.
2/2
The article sounds amazed that MTG Hivemind managed to come up with that
second ability that uses Suspend not as an alternative casting cost, as it is
usually used. Except that's basically the second ability of Epochrasite [1],
that the article mentions as an example of a card with Suspend, word-for-word,
but with two counters instead of three.Also "Taste of Blood" goes well on an Elemental, but really not on a blue Elemental.
Write Of Goblin Blade
UR
Creature - Goblin
Prowess blue spells you cast cost 1R Less to cast.
1/3
"Write of Goblin Blade"? Not "Write-off Goblin Blade?" Then, the ability text
is all wrong- it's ungrammatical for natural English and it's ungrammatical
for ability text even- keyword abilities like Prowess are written with a "--"
after their name. Grim Battlemage
4U
Creature - Yeti
Flanking.
When Grim Battlemage enters the battlefield, return target permanent to its
owner's hand.
U: Grim Battlemage loses defender until end of turn.
6/4
I was sure there was a card in Magic that gave Defender to a creature (so that
it couldn't attack you; bit crappy but eh). I even thought it had a name like
"Turn to stone" or something. A search on Gatherer can't find it. So, unless
I didn't search right, this is the ultimate junk card. [Edit: to clarify, it
loses defender, but it doesn't have defender to begin with and there's nothing
that can give it defender, so the ability is unusable] Also, a "Yeti" that is
a "Battlemage"? A "Battlemage" would be a "wizzard" probably. But OK, the
article clarifies that types don't work very well. Over Cub
2U
Creature - Skeleton
Also can block only creatures with flying
2/2
Also? OK, now we just have to find another creature that can block only
creatures with flying. No, we don't - that's not correct ability text. Juffy Khrovalize
3G
Creature - Ally
Convoke.
When Juffy Khrovalize enters the battlefield, you may search your library for
a pirate card, reveal it, then shuffle your library and put that card on top
of it.
5/3
That name is a mess. I used to follow the development of Roborosewater (or the
neural net that eventually became Roborosewater) when it was a thread in MTG
Salvation and I remember clearly that many card names used to be a total
slapstick mess that made no sense, like this one. Roborosewater, if I remember
correctly, was able to generate more plausible names I think with a little
longer training. But I'm not sure.___________
[1] https://gatherer.wizards.com/Pages/Card/Details.aspx?multive...
As far as turning to stone directly, I don't recall anything, but indirectly? Xathrid Gorgon gives a petrification counter that grants defender.
The twitter account has a few more usable ones, but those are all simpler. tl;dr: the simpler the card that it makes is, the more likely it is to be useful.
>> The twitter account has a few more usable ones, but those are all simpler. tl;dr: the simpler the card that it makes is, the more likely it is to be useful.
I thought that might be the case. My guess is that again it comes down to there only being few examples for the "Description Generator".
Since I dipped a toe (or more) in this kind of thing in my undergrad days, I can say that one gets much better results, in generating ability text for cards, with a hand-crafted grammar. Every project I've seen that generates text with some statistical learning algorithm, usually HMMs or neural nets etc ends up being "fun" in the sense that it generates funny cards that don't make a lot of sense and crack people up with their incogruity, which is great of course. But there's just not enough data in the M:tG cards corpus to train a decent model. Especially since many cards are basically copies of each other with different names and there are many creatures that have no abiltiy text other than a keyword ability (trample, flying, flanking, etc).
I’m a bit worried basing color on ability will lead to cards that are less varied though.
Whenever you activate one or more creatures block, flip a coin.
There is no way to "activate one or more creatures block" in M:tG. So you 'll never get your extra turns :)Then, this "ability" references some kind of activation. In M:tG, things that can be "activated" are activated abilities. Blocking is not an activated ability, so it doesn't make sense to say "whenever you activate one or more creatures block" you are blocking with the creatures. But then- why is it using the word "block", that is only used to denote, well, blocking? This creates a lot of ambiguity and another hallmark of M:tG ability text is that it's very carefully engineered to remove ambiguity.
So this is just gibberish that doesn't make sense, not a new, fancy wording of an old ability. Which makes sense because like the author of the article says, there are very few examples of M:tG cards' ability text to train a neural net to generate good quality new ability text.
In the world of a set of cards that do not actually exist, however, it is easy for me to imagine some older edition of M:tG that used this language to update "Block" from being a creature "capability" into a fully fledged "Ability." If that were the case, it would be an Activated Ability with zero mana cost (except for those creatures that, say, required some cost in order to block something).
I do recognize that if such a thing were introduced today however, it would be as a Keyword Ability like Shadow (maybe "Ethereal"?), perhaps with text like:
- Ethereal (This creature is unable to block)
- {Cost}: This creature loses Ethereal
The first problem is that there never was any time in the history of the game when this kind of wording would make sense, mechanically or in any other way. There has never been any ability text string that included the phrase "whenever you activate one or more creatures block" in any past version of the M:tG game. You could imagine an alternative reality where M:tG cards were printed with that phrase- but in our timeline, they never were. Even more so because, like I say above, that phrase is ungrammatical. There was never any time in M:tG history when Wizards of the Coast would have printed ungrammatical gibberish on a card and called it "ability text" - except perhaps for Un-set cards (which were likely excluded from the training of the Description Generator anyway). Further more, there was never any time in the history of the game when that kind of wording would make sense- not with the original rules, not with Sixth Edition rules, not with any ruleset before or after.
[source: The Gatherer: https://gatherer.wizards.com/Pages/Default.aspx]
The second problem is that the "Description generator" (the neural net that generates ability text) was trained on modern versions of cards' Oracle text (taken from MTGJson which has up-to-date card text even for older cards, taken from The Gatherer and other sources; for example, if you look at Alpha cards on MTGJson, you'll see they've got the up-to-date wording). The phrase "whenever you activate one or more creatures block" cannot be found on the modern version of any M:tG card, so its generation by the Description generator is a failure of the system to represent its training data accurately and not a brilliant invention of an ancestral version of ability text that was or might have been; if nothing else because that's not what the training of the Description Generator was trying to do, it was just trying to generate correct ability text according to what is on cards today.
In this sense, it is very close to grammatical even if it is not close to the ruleset, and imho it is close enough that it could be playable in a casual game, which is really the litmus I am using.
Instead of, "is this convincing as a magic card," I am considering "is there a way that this card could be made to work in a casual game, and still be both balanced and understandable"