2025.4.1 • Published 10 months ago

@mtgoncurve/landlord v2025.4.1

Weekly downloads
28
License
MIT
Repository
github
Last release
10 months ago

landlord BUILD-img NPM-img MIT-img

landlord is the simulation backend for https://mtgoncurve.com!

What

landlord is a Rust library that simulates the mulligan and card draw process in Magic: The Gathering in order to determine the probability to play cards on curve. The project uses wasm-pack, a tool for building, optimizing, and packaging Rust-generated WebAssembly.

Development

Run make all to see available development tasks.

Updating the scryfall database

make card-update
make build

Dependencies

brew install rustup
rustup-init

Verify rustc and cargo are available:

rustc --version
cargo --version

Install wasm-pack:

brew install wasm-pack

Use with mtgoncurve.com locally

cd lib/pkg
yarn install
yarn link

In your local copy of the mtgoncurve.com repo:

cd /path/to/mtgoncurve.com
yarn link "@mtgoncurve/landlord"

and run the web app:

yarn
yarn run start

License

MIT

2024.11.0

1 year ago

2025.4.1

10 months ago

2024.9.0

1 year ago

2024.8.0

1 year ago

2024.4.0

2 years ago

2024.2.0

2 years ago

0.12.0

3 years ago

0.13.0

2 years ago

2023.11.0

2 years ago

0.11.0

3 years ago

0.10.0

3 years ago

0.9.0

3 years ago

0.8.1

3 years ago

0.8.0

4 years ago

0.7.1

4 years ago

0.7.0

5 years ago

0.6.0

5 years ago

0.5.2

5 years ago

0.5.0

5 years ago

0.4.7

5 years ago

0.4.6

5 years ago

0.4.5

5 years ago

0.4.4

6 years ago

0.4.3

6 years ago

0.4.2

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.1

6 years ago

0.2.2

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago

0.1.1

6 years ago

0.0.10

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago