steam-shovel
calculates the odds of getting a certain number of lands in your hand given the
total number of lands in your deck (assuming a 60-card deck) and the size of your hand.
$ steam-shovel --hand-size 7 --num-lands 24 -counts 3,4
``` chance of 3 lands in a 7 card hand from a deck with 24 lands: 30.870%
chance of 3 or 4 lands in a 7 card hand from a deck with 24 lands: 50.515% ```
$ steam-shovel -s 6 -l 20 -c all
``` chance of 0 lands in a 6 card hand from a deck with 20 lands: 7.667% chance of 1 lands in a 6 card hand from a deck with 20 lands: 26.287% chance of 2 lands in a 6 card hand from a deck with 20 lands: 34.684% chance of 3 lands in a 6 card hand from a deck with 20 lands: 22.498% chance of 4 lands in a 6 card hand from a deck with 20 lands: 7.549% chance of 5 lands in a 6 card hand from a deck with 20 lands: 1.239%
chance of 0, 1, 2, 3, 4, 5, or 6 lands in a 6 card hand from a deck with 20 lands: 100.000% ```
``` steam-shovel 0.1.0 MTG mulligan helper
USAGE:
steam-shovel [OPTIONS] --counts
FLAGS: -h, --help Prints help information
-V, --version
Prints version information
OPTIONS:
-c, --counts
May be either a comma-separated list of integers or the word 'all' (e.g. '1', '2,3,4', 'all').
-s, --hand-size <hand_size>
The size of the hand being drawn.
-l, --num-lands <num_lands>
The number of lands in the deck.
```