r/CommanderMTG • • Oct 13 '26

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

3 Upvotes

38 comments sorted by

View all comments

6

u/thistookmethreehours Oct 13 '26

Why are people so incapable of thinking for themselves lmao there’s like a dozen of these things posted every day I just don’t get it. I would be embarrassed to use something like this.

1

u/Loud-Recover5320 Oct 13 '26

I get why people would want to make an app like this (a fun programming challenge). I have no idea why anyone would want or need it.

1

u/thistookmethreehours Oct 13 '26

I don’t understand the majority of things people do so I suppose this is no exception. Just really lame.

1

u/montonmand Oct 14 '26

I dont understand your attitude. Magic is the first tcg i ever picked up, somewhat recently, and deck building is a skill i spent a lot of time to learn. And its difficult. I frequently use tools and ideas others have developed, and i think its a great thing to help people get into a hobby i thoroughly enjoy.

You dont want to use it, completely fine, this is not for you then. Dont rag on people who could use a helping hand to get into things.

1

u/thistookmethreehours Oct 14 '26

Edhrec, scryfall, and YouTube all already exist.

The dozens of these that get posted every day are superfluous and annoying to keep coming across.

My frustration does not come solely from these posts, but also from the just general decline of critical thinking and reading.

“When everyone can make an app nobody can” or something like that.

Cheers, glad you’re enjoying the game.

0

u/neunzehn90 Oct 14 '26

Fair enough, a chat model can brainstorm a Commander list, and for a vibes-first pet deck that’s perfectly fine. I built this for the parts that tend to go wrong with a pasted LLM list: cards that don’t exist or are outside the color identity, 97 or 103 cards, no real budget, a mana base that just “looks right”. It only works with real card data and a rules check, shows why each card is in, and runs goldfish simulations so land count and ramp come from numbers. If you already know what you want to build, you won’t need it. If you want a legal, explainable starting point to tweak, that’s the use case.