Applied AI / deck construction
ManaScribe
A player names a commander. The software has to deliver a deck that follows the constraints.
Node.js · Scryfall · Ollama
My individual project
The request
“Build a Commander deck around Teysa Karlov under $75.”
An example request in the current public README.
I built the deck builder around Scryfall card data. A deterministic scorer ranks candidates; local Ollama handles request interpretation and grounded explanations. Standard deck and card requests also have an explicit parser.
What comes back
An editable 100-card list with card costs, validation results, and text export. The server checks construction rules and price constraints before returning a proposed deck. The model cannot override the selected format or budget.
A reproducible construction test
100 cards. 37 lands. ≤ $20.
A synthetic catalog test sets a $20 total budget, a $2 per-card limit, and 37 lands. It asserts the card count, land count, budget, quality checks, and Commander validation. These fixture prices do not represent a live purchase quote.
assert.equal(deck.cards.length, 100);
assert.equal(deck.mana.landCount, 37);
assert.ok(deck.purchaseEstimatedUsd <= 20);Inspect the complete construction test ↗A failure worth catching
Teysa Karlov
White / black commander
Lightning Bolt
Red card
Rejected: outside Teysa Karlov’s color identity.
The public test asserts rejection. The validation code also checks deck size, commander eligibility, copy limits, and main-deck eligibility. Its scope is deck construction, not a complete audit of every card interaction.
The October 23 resume records one validated 100-card build in 13.2 seconds. That single test is not a general latency claim.
Try the invitation-based demo ↗Application source ↗
The demo depends on its host being online and on invitation limits. The code and examples above remain available without a demo session.
