Ratio Based Mana Calculator for Magic: The Gathering

I've been working on a few PHP projects here lately. Yesterday I posted my Traveller creature generator, my first shared PHP project.

Today I'm going to share a simple, ratio-based mana calculator for Magic the Gathering.  The idea is to give a player a baseline ratio for the number of mana symbols of each color the deck contains.

 

 

Here's the link and I hope it's useful to someone.

http://caleb.hostoi.com/RPG/scrape.php?script=mana_ratio.php

For the curious, calculation priority is as follows: 

  • Step 1: Create a ratio of mana symbols and apply it to the number of lands.
  • Step 2: Make sure all the deck's colors have at least one mana source.
  • Step 3: Prioritize the second most frequent color for any spare land slots.

Posted on July 11, 2013 and filed under Magic: the Gathering.