TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

We built an AI-powered Magic the Gathering card generator

130 点作者 MWil超过 1 年前

23 条评论

minimaxir超过 1 年前
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...<p>Then the ChatGPT API came out and made all my effort obsolete.<p>In one hour, I was able to create a Notebook (<a href="https:&#x2F;&#x2F;colab.research.google.com&#x2F;github&#x2F;minimaxir&#x2F;chatgpt_api_test&#x2F;blob&#x2F;main&#x2F;mtg.ipynb" rel="nofollow noreferrer">https:&#x2F;&#x2F;colab.research.google.com&#x2F;github&#x2F;minimaxir&#x2F;chatgpt_a...</a> ) that was able to create mechanically valid and relatively balanced cards given a natural language prompt, even extremely absurd ones (&quot;Create ten variations of Magic cards based on Spongebob Squarepants and ancient Roman history&quot;). In all cases it&#x27;s more stable and accurate than my hand-made solution.<p>That notebook is now obsolete too, due to ChatGPT&#x27;s structured data support now allowing for <i>even more</i> control and stability. I need to create an updated MtG card generator at some point.
评论 #37432682 未加载
评论 #37431919 未加载
评论 #37433588 未加载
评论 #37429919 未加载
评论 #37446574 未加载
doctorhandshake超过 1 年前
I’m stunned WOTC hasn’t sued them over this yet. I undertook a related project in ‘21 [0] and had two different lawyers tell me Wizards are notoriously litigious and that they’ve even come after creators of fan art in the past.<p>[0] <a href="https:&#x2F;&#x2F;hardwork.party&#x2F;#&#x2F;entropy&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;hardwork.party&#x2F;#&#x2F;entropy&#x2F;</a> … recursively-generated MTG-style cards generated by GPT-3 (not 3.5t) and VQGAN+CLIP. The recursion brings out the crazy!<p>I ended up scrubbing for every non-dictionary word in the MTG corpus - find a ‘nono’ word? Regenerate.<p>Also did cosine vector similarity on the body, title, type, and flavor text fields against existing MTG corpus to throw out anything too similar.<p>Also my partner on the project ZNO did all-original card BG, back, and icons.<p>In the end the thing was an art piece so it didn’t suffer from deviating widely from MTG, although I’d say it probably would have been a bigger commercial success as a straight imitation.
评论 #37436148 未加载
评论 #37437531 未加载
评论 #37432700 未加载
xarope超过 1 年前
As a former MtG player I think the difficulty lies not in creating cards, but in ensuring there&#x27;s a level of balance between existing cards and new sets.
评论 #37430467 未加载
评论 #37430339 未加载
clarle超过 1 年前
<p><pre><code> 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. </code></pre> 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.<p>I think one thing that&#x27;s a challenge for a LLM is that small changes to text like &quot;Search for a card and put that card into your hand&quot; versus &quot;Search for a card and put that card onto the battlefield&quot; can have very different meanings and power levels.
评论 #37429839 未加载
评论 #37429732 未加载
评论 #37430398 未加载
dxuh超过 1 年前
&gt; Magic the Gathering is a collectible card game played with two or more players. Each player starts with a deck of cards and 20 life points and uses those cards to deal damage to the opponent and reduce the life points to 0.<p>I would never risk the wrath of Mill and Infect players by omitting their favorite win conditions.<p>If you look at the rules, there are a bunch of win&#x2F;lose conditions in MTG: <a href="https:&#x2F;&#x2F;mtg-archive.fandom.com&#x2F;wiki&#x2F;Win_Conditions" rel="nofollow noreferrer">https:&#x2F;&#x2F;mtg-archive.fandom.com&#x2F;wiki&#x2F;Win_Conditions</a>
happytoexplain超过 1 年前
Intellectually, and as a creator, I love AI image generation. As a casual user of the internet, I&#x27;m growing more and more annoyed with it, simply because of all the times I lean in to examine an image that my visual cortex is stumbling on some part of, only to realize after a couple seconds, &quot;oh, it&#x27;s AI&quot;, and sit back up straight.
评论 #37437993 未加载
评论 #37430358 未加载
tstrimple超过 1 年前
As someone who has played Magic off and on since 1997, most of these are actually quite terrible. None of them really make sense from a cost &#x2F; utility standpoint. The images for the names of the cards and the flavor texts are all pretty good. But this model clearly didn&#x27;t pick up enough details around the cost and mechanics.
ivanche超过 1 年前
Next step is, of course, to build an AI-powered exchange for Magic the Gathering cards. They could name it &quot;Magic the Gathering Online eXchange&quot; or something like that.
评论 #37432666 未加载
评论 #37432600 未加载
labster超过 1 年前
I love that “Bad Lightning Bolt” is literally just Lightning Bolt that does one less damage.
评论 #37429529 未加载
MaxfordAndSons超过 1 年前
This is cool, but surprised to see no lip service paid to RoboRosewater, a pioneer in the MTGML space.
ChrisArchitect超过 1 年前
(2022)<p>Discussion about this a year ago:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31412608">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31412608</a>
jusquan超过 1 年前
This is really cool! Would love to see a version for Pokemon and Yugioh to revive my childhood. Because the relative consistency of card formats, AI-generated trading cards seems like a great use-case, with some gaps depending on the type of card. For Yugioh, I imagine generating believable images is easier since the card art is extremely varied, but it&#x27;s probably a bit harder to come up with meaningfully complex card effects&#x2F;descriptions. It&#x27;s probably the opposite for Pokemon, where there&#x27;s a much smaller set of known Pokemon so AI-generated ones are easy to detect, but the moves that each one possesses are usually pretty simple (unless that card game has gotten way more complex from what I remember)
keyle超过 1 年前
This is cool. There is undeniable value in LLMs for inspiration. I think they really augment well the creative tasks.<p>LLMs are getting a bad rep for not acrediting the authors, but the everyone cannot possibly know about every other source of information.<p>If you think of LLMs as general corpus of human intelligence, and how they can be used for lateral-thinking, there is nothing quite like it.<p>We live in unbelievable times.<p>I get to tell my children &quot;I remember the days without the internet&quot; and in the same monumental shift in history, I feel, I will also get to tell them &quot;I remember the days when we had no AI assistance&quot;.
评论 #37429200 未加载
KingOfCoders超过 1 年前
I found my old Gathering cards (e.G. Antiquities), and want to sell. Is there a good AI software that determines which cards are mint etc? I feel uncomfortable selling on eBay, b&#x2F;c I have no clue.
评论 #37431335 未加载
评论 #37430118 未加载
评论 #37429774 未加载
mock-possum超过 1 年前
I like the corresponding white and black titans as a concept, but the implementation really needs tweaking.<p>Bad Lightning Bolt is so hilariously perfect that I’m surprised it isn’t already an un- set card.
terrycody超过 1 年前
Great article! In 2019 someone posted same thing: <a href="https:&#x2F;&#x2F;medium.com&#x2F;@lukbebalduke&#x2F;mtg-hivemind-artificial-intelligence-designing-magic-372530640cc1" rel="nofollow noreferrer">https:&#x2F;&#x2F;medium.com&#x2F;@lukbebalduke&#x2F;mtg-hivemind-artificial-int...</a><p>But sadly, he didn&#x27;t keep going into it after that. Gladly, OP made huge progress on the same topic!
jrflowers超过 1 年前
It makes sense to think Wizards of the Coast when it comes to creating unlicensed physical media similar to what a company sells while also using their trademarks. A person could mess up and pick a ridiculously litigious company to do that with and invent a fine-tuned AI model that expedites getting sued by exuberant IP lawyers.
fmc30超过 1 年前
I actually made a small hobby site that generates Magic cards using gpt (you can choose 3.5 or 4): <a href="https:&#x2F;&#x2F;mtgcardgenerator.com" rel="nofollow noreferrer">https:&#x2F;&#x2F;mtgcardgenerator.com</a><p>You&#x27;ll need to log in though so I can keep costs under control, but it&#x27;s a lot of fun to play around with :)
评论 #37430476 未加载
filipezf超过 1 年前
Why not allow the players to &#x27;create&#x27; new cards on the fly and the LLM balance it automatically? So that one would feel like an &#x27;real&#x27; wizard. Curiousy I was thinking on how to actually implement something like that tonight.
评论 #37431666 未加载
fxtentacle超过 1 年前
I&#x27;m surprised that they can get away with using &quot;Magic the Gathering&quot; in the headline and &quot;Wizards of the Coast&quot; in the image. I was pretty sure these would be trademarks.
getwiththeprog超过 1 年前
The last three or four MTG sets already seem to be designed by manatees, so maybe this will save them some dosh on tank cleaning.
jmartrican超过 1 年前
This is pretty cool. Though IMHO, the card Peanut Butter Jar that their AI generated should be 0&#x2F;1, not 1&#x2F;1.
anxman超过 1 年前
I bet WOTC would find this very useful!
评论 #37429084 未加载
评论 #37430256 未加载