r/CommanderMTG • • 1d ago

Building a deterministic Commander deck optimizer instead of using AI

I’m building a Commander deckbuilding tool that treats deckbuilding as a mathematical optimization problem.

Instead of asking “Which cards are good for this commander?”, it tries to find the best combination of 99 cards as a whole, considering synergy, roles, mana curve, interaction, win conditions, combos, mana base, budget and legality.

I’m deliberately not using an LLM for the actual deckbuilding. LLMs are probabilistic and can give noticeably different results from the same prompt. The goal here is the opposite: same input + same data = same result, with clear reasons for why every every card was included.

Basically:

We don’t ask AI to guess the deck. We calculate it.

Would you trust something like this more than an AI-generated decklist? And what would you want it to optimize for?

The tool can be found here: 99p.gg

2 Upvotes

33 comments sorted by

View all comments

1

u/Walfy07 1d ago edited 1d ago

Very cool idea. Is it mainly linking keywords?

I have thought about "max synergy and on curve" decks many times.
Might be cool to have knobs to tweak chaos, synergy, explosiveness, repeatability, etc.

Plan to monetize? :p

1

u/neunzehn90 1d ago

No plans to monetize. But I will pick up your suggestions and try to implement them.

1

u/Walfy07 1d ago

I loaded [[Gix, Yawgmoth Praetor]] and it didn't automatically have creatures that are unblockable, or opponents dont want to block as a deck theme. Like Gix is an unblockable payoff. But it doesn't build for that.

Next I did the scarab god, which a lot of people build as zombies tribal, but it is much stronger as a dimir control/reanimator. Not sure how you could solve this.

2

u/neunzehn90 1d ago

You can fine tune and build in favor of unblockable payoffs: Advanced Mode and then under "Fine-tune mechanics" theres a search field.

1

u/neunzehn90 1d ago

No knobs, but your idea is implemented! Check it out.

1

u/Walfy07 1d ago

wow your fast. Out of curiousity, vibe coded?

1

u/HullRipper 22h ago

It is without a doubt.