-
Install build tools (if necessary!)
xcode-select --install sudo easy_install pip brew install conan conan remote add vthiery https://api.bintray.com/conan/vthiery/conan-packages
-
Download MtG card data
cd data ./download.sh -
Put your collection of cards as a CSV file in
data/collection.csvwith format:Quantity,Name,Code,PurchasePrice,Foil,Condition,Language,PurchaseData(This is the default file output format for MTG Manager on iOS. See
data/collection_dons.csvfor an example.)Make sure that this file contains no basic lands.
-
Install python deps
cd ../mechanic_models pip install -r requirements.txt -
Build mechanics and interactions models
./run.sh
-
Build genetic algorithm
cd ../deck_builder conan install . cmake . cmake --build .
-
Run the genetic algorithm
./bin/magique ../data collection.csv
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|