Magic the Gathering - Opening Hand Mana Curve

Not Reviewed
Equation / Last modified by EdwardOmbui on 2015/09/16 07:41
Magic the Gathering - Opening Hand Mana Curve
Variable Instructions Datatype
Are you going first? Choose selection Yes or No Text
How many cards are in your deck? Enter the number of cards in your deck Integer
How many lands do you want in your opening hand? Enter the number of lands Integer
How many plains are in your deck? Enter the number of plains Integer
How many islands are in your deck? Enter the number of islands Integer
How many swamps are in your deck? Enter the number of swamps Integer
How many mountains are in your deck? Enter the number of mountains Integer
How many forests are in your deck? Enter the number of forests Integer
Type
Equation
Category
vCommons
Contents
8 variables
Rating
ID
JustinLiller.Magic the Gathering - Opening Hand Mana Curve
UUID
888eb05a-e2a6-11e3-b7aa-bc764e2038f2

This program calculates the probability of drawing X amount of lands in an opening hand of Magic: The Gathering. Going first means your opening hand will have 7 cards while going second(or third, fourth, etc. in a multiplayer game) will mean you get an extra draw which leaves you with 8 for your first turn.

(C("total",x) * C("deck" - "total", "hand-size" - x))/(C("deck","hand-size"))