Live data from Hacker News

We built an AI-powered Magic the Gathering card generator

txt.cohere.com

11–20 of 88 posts

Re: We built an AI-powered Magic the Gathering card generator

#11

  Infernal Light
  2BB

  Sorcery
  Search your library for a creature card card with power less than or equal to the number of cards in your hand, put that card onto the battlefield, and then shuffle.

  The eternal flame has no fuel.
Very cool generator and it creates real-ish cards that mostly follow the color pie, but the power level is pretty bonkers for anyone that plays Magic.

I think one thing that's a challenge for a LLM is that small changes to text like "Search for a card and put that card into your hand" versus "Search for a card and put that card onto the battlefield" can have very different meanings and power levels.

Re: We built an AI-powered Magic the Gathering card generator

#13
post #9
post #5

Earlier quoted context omitted.

It would be interesting if it could make balanced cards. I wonder what kind of crazy op decks these generated cards allows for

Humans aren't exactly great at this either; cards needing to be banned has only gotten more frequent over time, although it looks like this year has been the first one in a while not to require a lot[1] [1]: https://mtg.fandom.com/wiki/Banned_and_restricted_cards/Time...

You’d expect that to happen as potential interactions increase, I assume. I’ve always wanted to learn how to use a modelling tool like TLA+ or something to find breaking issues in games - like first turn wins (that isn’t just Exodia in Yugioh)

Re: We built an AI-powered Magic the Gathering card generator

#16
This post was originally made in 2022. In early 2023, I spent a lot of effort training a model with a new approach that made the generation quality extremely good...

Then the ChatGPT API came out and made all my effort obsolete.

In one hour, I was able to create a Notebook (https://colab.research.google.com/github/minimaxir/chatgpt_a... ) that was able to create mechanically valid and relatively balanced cards given a natural language prompt, even extremely absurd ones ("Create ten variations of Magic cards based on Spongebob Squarepants and ancient Roman history"). In all cases it's more stable and accurate than my hand-made solution.

That notebook is now obsolete too, due to ChatGPT's structured data support now allowing for even more control and stability. I need to create an updated MtG card generator at some point.

Re: We built an AI-powered Magic the Gathering card generator

#17
post #14

I love that “Bad Lightning Bolt” is literally just Lightning Bolt that does one less damage.

It also only hits creatures rather than any target, so it’s even a bad shock!

Naming things is one of the two hardest parts of programming. If AI is this good at naming then I’ll be out of a job soon.

Re: We built an AI-powered Magic the Gathering card generator

#18
post #9

Earlier quoted context omitted.

Humans aren't exactly great at this either; cards needing to be banned has only gotten more frequent over time, although it looks like this year has been the first one in a while not to require a lot[1] [1]: https://mtg.fandom.com/wiki/Banned_and_restricted_cards/Time...

You’d expect that to happen as potential interactions increase, I assume. I’ve always wanted to learn how to use a modelling tool like TLA+ or something to find breaking issues in games - like first turn wins (that isn’t just Exodia in Yugioh)

Read up on the Power Nine sometime. They mostly look innocent but would lead to first turn win decks.

Re: We built an AI-powered Magic the Gathering card generator

#20
post #11

Infernal Light 2BB Sorcery Search your library for a creature card card with power less than or equal to the number of cards in your hand, put that card onto the battlefield, and then shuffle. The eternal flame has no fuel. Very cool generator and it creates real-ish cards that mostly follow the color pie, but the power level is pretty bonkers for anyone that plays Magic. I think one thing that's a challenge for a LL…

Precisely my thoughts. The fact that this exists is so cool, but it's clear some more tuning would have to be done for "proper" balance.

'Subterranean Crush' is exactly 'Flesh to Dust' but two mana cheaper and 'Silent Splendor' is 'Dramatic Reversal' cranked to 11. An instant include in any blue deck, I need it.

Post reply on HN