Live data from Hacker News

Show HN: Make your own AI-generated Magic: The Gathering cards with GPT-2

minimaxir.com

41–47 of 47 posts

Re: Show HN: Make your own AI-generated Magic: The Gathering cards with GPT-2

#41

I chose the name "Javascript" and let it choose: https://imgur.com/a/mlqJmjK

When I generated it: 1. Haha, Javascript _is_ sorcery. Awesome. 2. Wait, Javascript is evil sorcery? 3. This card does a lot 4. Wait, the result of this card is that I do something pointless, then I give my opponent 7 cards from my library, then I put the rest of my library into my graveyard?

[deleted]

Re: Show HN: Make your own AI-generated Magic: The Gathering cards with GPT-2

#42

I chose the name "Javascript" and let it choose: https://imgur.com/a/mlqJmjK

When I generated it: 1. Haha, Javascript _is_ sorcery. Awesome. 2. Wait, Javascript is evil sorcery? 3. This card does a lot 4. Wait, the result of this card is that I do something pointless, then I give my opponent 7 cards from my library, then I put the rest of my library into my graveyard?

Nah, you show them 7, and they pick 0 to go to your hand, and 7 to go to the trash.

Re: Show HN: Make your own AI-generated Magic: The Gathering cards with GPT-2

#44
post #42

Earlier quoted context omitted.

When I generated it: 1. Haha, Javascript _is_ sorcery. Awesome. 2. Wait, Javascript is evil sorcery? 3. This card does a lot 4. Wait, the result of this card is that I do something pointless, then I give my opponent 7 cards from my library, then I put the rest of my library into my graveyard?

Nah, you show them 7, and they pick 0 to go to your hand, and 7 to go to the trash.

The best part is that you have to also choose a card name, but it doesn't do anything.

Re: Show HN: Make your own AI-generated Magic: The Gathering cards with GPT-2

#46

This is remarkably more coherent than previous attempts at M:tG card generation with a deep RNN [1] but on the other hand, the ability text on the few cards I've generated so far seems oddly famliar. In fact, I got one that is identical to an actual card. Generated by GPT-2 [2]: Tephraderm {1}{R} (common) Sorcery Each player sacrifices a land. Actual M:tG card (copied by hand by me and keeping the same notation): Tre…

I go into it more in the README but yes, GPT-2 overfits Magic cards very quickly despite my best efforts (usually it shifts the mana cost/rarity a bit more though than your example).

I think I found another bug of some kind. For "Demonic trade 1B", I got the following, but black shouldn't have artifact destroyers.

Demonic Trade {1}{B} (common)

Sorcery

Buyback {2}

Destroy target artifact.

Re: Show HN: Make your own AI-generated Magic: The Gathering cards with GPT-2

#47
post #46

Earlier quoted context omitted.

I go into it more in the README but yes, GPT-2 overfits Magic cards very quickly despite my best efforts (usually it shifts the mana cost/rarity a bit more though than your example).

I think I found another bug of some kind. For "Demonic trade 1B", I got the following, but black shouldn't have artifact destroyers. Demonic Trade {1}{B} (common) Sorcery Buyback {2} Destroy target artifact.

Color pie violations are not an inherent bug, just an outcome of the inherent random nature of AI. This AI does a better job than previous ones of following the color pie.
Post reply on HN