Skip to main content

landlord/
lib.rs

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