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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Open source rules engine for Magic: The Gathering

214 点作者 moxvallix超过 1 年前

21 条评论

archargelod超过 1 年前
That&#x27;s my favourite way to play magic. Real cardboard magic is very expensive hobby. Digital magic (like Mtg Arena) is usually toxic, too competitive and meta-driven for my liking.<p>So, instead, I enjoy playing against AI. And AI here is actually decent. It can&#x27;t do combo or play slow control decks well, but with aggro archetypes it&#x27;s an actual challenge.<p>If you want to try it - start with Adventure - it is a mode where you get a starter deck and go into the open world to explore and challenge other planeswalkers. You earn cards and gold that can be spent on more cards. It&#x27;s fun because you don&#x27;t get stuck playing the same best cards over and over. All cards from a long magic history are available and have equal chances to show up in rewards. It takes a skill to build a deck from pile of random variable quality cards. But, oh boy, does it feel good when you get good at it.
评论 #38664063 未加载
评论 #38668390 未加载
评论 #38668073 未加载
评论 #38670722 未加载
评论 #38665927 未加载
评论 #38667319 未加载
评论 #38666553 未加载
评论 #38664399 未加载
mdaniel超过 1 年前
In case anyone is curious, it uses Scryfall for the card art <a href="https:&#x2F;&#x2F;github.com&#x2F;Card-Forge&#x2F;forge&#x2F;blob&#x2F;forge-1.6.59&#x2F;forge-gui&#x2F;src&#x2F;main&#x2F;java&#x2F;forge&#x2F;util&#x2F;ImageFetcher.java#L42">https:&#x2F;&#x2F;github.com&#x2F;Card-Forge&#x2F;forge&#x2F;blob&#x2F;forge-1.6.59&#x2F;forge-...</a> and I wish they&#x27;d offer a torrent (or IPFS) because I can&#x27;t imagine the amount of bandwidth it must cost them and I would seed the hell out of any such thing<p>Now, one possible reason would be copyright something-something but as it currently stands it&#x27;s not like one needs to log in to download the card art one at a time, so ... I struggle to think of what risk they&#x27;re driving down
评论 #38677036 未加载
j_m_b超过 1 年前
Great to see Forge making the front page! It runs on mobile too and the UI is frankly better than the desktop version. Definitely install a snapshot version so that your client stays up to date. The bots can play surprisingly well with agro and even control decks, but can&#x27;t play any kind of combo... Or even assemble Tron.<p>I&#x27;ve even used this to play local network games against other players. If they had a global server that allowed you to find games, it would be the perfect way to play MtG.
评论 #38675438 未加载
sigma5超过 1 年前
There is also Xmage <a href="https:&#x2F;&#x2F;github.com&#x2F;magefree&#x2F;mage">https:&#x2F;&#x2F;github.com&#x2F;magefree&#x2F;mage</a>
khaki54超过 1 年前
Is the adventure mode like that old Microprose Magic the Gathering game? My brother and I loved playing that as kids!
yowlingcat超过 1 年前
I&#x27;ve played a lot of Hearthstone over the past decade, and one thing that I&#x27;ve loved about it is Battlegrounds, to the extent where I have stopped playing the traditional meta where you have to build actual decks. Battlegrounds is somewhat similar to the draft meta in MtG and YGO where on a turn by turn basis, you get selection of cards to draft, but with a certain economic limit of cards to pull. It corrects for &quot;buying&quot; your way in and instead focuses ELO on ramping correctly and inflects an RTS flavor on the game. I enjoy it a lot and I kinda wonder why such a flavor on gameplay hasn&#x27;t similarly taken hold of the other classic CCGs. What am I missing or misunderstanding?
mdaniel超过 1 年前
It must be M:TG week, which I think is fantastic!<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=38646892">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=38646892</a> is the I guess annual(?) repost of the &quot;Magic: The Gathering Is Turing Complete (2019)&quot; paper<p>and then there were some other M:TG threads that may interest those who didn&#x27;t see them<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=38525978">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=38525978</a> <i>(I hacked Magic the Gathering: Arena for a 100% win rate)</i><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=38533105">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=38533105</a> <i>(Fine-tuning Mistral 7B on Magic the Gathering Draft)</i>
评论 #38666434 未加载
评论 #38671171 未加载
评论 #38666214 未加载
Waterluvian超过 1 年前
Oh this is a gold mine for me. Recently I’ve wondered how games architect card game rules. So many rules feel kind of bespoke, so I wasn’t sure if you could implement a sort of logic so that rules become configuration, or if each rule is just a function.
评论 #38665903 未加载
LelouBil超过 1 年前
Here is an equivalent for Yu-Gi-Oh!<p><a href="https:&#x2F;&#x2F;github.com&#x2F;edo9300&#x2F;ygopro-core">https:&#x2F;&#x2F;github.com&#x2F;edo9300&#x2F;ygopro-core</a><p>I find the CardScript repository very interesting to look at: <a href="https:&#x2F;&#x2F;github.com&#x2F;ProjectIgnis&#x2F;CardScripts">https:&#x2F;&#x2F;github.com&#x2F;ProjectIgnis&#x2F;CardScripts</a><p>And here is the actual game client :<p><a href="https:&#x2F;&#x2F;github.com&#x2F;edo9300&#x2F;edopro">https:&#x2F;&#x2F;github.com&#x2F;edo9300&#x2F;edopro</a>
评论 #38666765 未加载
THENATHE超过 1 年前
Has anyone actually tried the network multiplayer? I won&#x27;t have a chance to try this out for a while, but if there is now a great way for me to play <i>actual</i> commander with the MTGA rules engine (for speed and accuracy) with friends I would love this so much. Can anyone share their experiences?
ryanbigg超过 1 年前
I’ve done some work on something “less serious” in Ruby:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;radar&#x2F;mtg">https:&#x2F;&#x2F;github.com&#x2F;radar&#x2F;mtg</a><p>I view it as a wide project full of little interlinked code katas.<p>I’ve thought about the card parsing stuff but that’s beyond my ability.
freediver超过 1 年前
Oh neat, would get us much closer to having a &#x27;best deck simulator&#x27; like this:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Xq4T44EvPvo" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Xq4T44EvPvo</a>
7373737373超过 1 年前
Has anyone tried simulating the Turing complete deck? <a href="https:&#x2F;&#x2F;youtu.be&#x2F;pdmODVYPDLA" rel="nofollow noreferrer">https:&#x2F;&#x2F;youtu.be&#x2F;pdmODVYPDLA</a>
spartanatreyu超过 1 年前
Man I used to play this engine and Battle for Wesnoth 10 years ago back when I had intermittent internet.<p>I thought the project died, glad to see it&#x27;s still going!
pdntspa超过 1 年前
Wow, if this is what I think it was I remember using this to play MTG online vs some friends waaaaaaaaaaaaay back in the day. This was&#x2F;is a really good alternative to MTGO<p>edit- It is!
Yhippa超过 1 年前
Want to play any Commander deck with friends on the cheap? Spelltable + OBS (or any desktop streaming software) + Moxfield in deck playtest mode.
agazso超过 1 年前
I downloaded this and it looks cool and comprehensive, but for me the card artwork is missing.<p>Maybe some server is hugged by HN? Or something needs to be set?
评论 #38666676 未加载
bhickey超过 1 年前
How does it compare with Xmage and cockatrice?
评论 #38665209 未加载
7373737373超过 1 年前
Would it be possible to apply MuZero to this?
评论 #38666255 未加载
EE84M3i超过 1 年前
This is cool, but I&#x27;m a bit surprised this isn&#x27;t AGPL.
mnky9800n超过 1 年前
There should be a screenshot on the homepage to show what gameplay is like
评论 #38664021 未加载
评论 #38663983 未加载
评论 #38666706 未加载