MtG Manabase Builder

required
castles
actual
color requirements and min/max will ALWAYS be met, further optimization takes scores into account
score
min
max

How many lands should I play?

Check out Frank Karsten's awesome article.

How many sources of each color should I play?

Check out Frank Karsten's other awesome article.

How does this work?

Manabase building can be modeled as a linear program with integer variables, where all color requirements must be met while maximizing the number of untapped sources. There are solvers for these type of problems, like the amazing jsLPSolver, which I used here.