1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//! # Magic: The Gathering Simulation Library
//!
//! landlord is a library that simulates the card draw and mulligan process in Magic: The Gathering
//! in order to determine the probability to play cards on curve. It can theoretically be used
//! be used for determining the probability of other events. It is currently used by [https://mtgoncurve.com](https://mtgoncurve.com).

#[macro_use]
extern crate serde_derive;
extern crate serde;
#[macro_use]
extern crate lazy_static;
extern crate bincode;
extern crate flate2;
extern crate rand;
extern crate regex;
extern crate wasm_bindgen;

pub mod card;
pub mod hand;
pub mod mtgoncurve;
pub mod mulligan;
pub mod parse_mana_costs;
pub mod simulation;

pub use crate::mtgoncurve::run;
pub use crate::parse_mana_costs::parse_mana_costs;