Ei kuvausta

Cadel Watson fcb0557ada Updates for EOE 9 kuukautta sitten
.idea fcb0557ada Updates for EOE 9 kuukautta sitten
css a62d3c4496 Add mana costs to decklist 2 vuotta sitten
data fcb0557ada Updates for EOE 9 kuukautta sitten
html 78e59365e7 init 2 vuotta sitten
js fcb0557ada Updates for EOE 9 kuukautta sitten
server 6a97056901 Fetch and save set data from server 2 vuotta sitten
src fcb0557ada Updates for EOE 9 kuukautta sitten
tests fcb0557ada Updates for EOE 9 kuukautta sitten
.gitignore bc770fdac3 Update for DFT 1 vuosi sitten
.postcssrc.json 0c4311efc0 Show highlighted card 2 vuotta sitten
README.md fcb0557ada Updates for EOE 9 kuukautta sitten
elm.json 0ea68be7bd Style set selection 2 vuotta sitten
package-lock.json c9762f6e96 Add delta signals chart 2 vuotta sitten
package.json c9762f6e96 Add delta signals chart 2 vuotta sitten
tailwind.config.js 60a32d54c9 Colourise stats 2 vuotta sitten

README.md

Drafter

UI

Install with npm install.

Run with npm run start.

Build with npm run build.

Backend

Adding a new set

  1. Create a new folder in data/sets

Named after the set code, e.g. data/sets/eoe.

  1. Download card ratings

Log in to 17lands, go to card data, select the set, premier draft format, and top users, then switch to table view.

Click export and download the CSV file.

Save to data/sets/<CODE>/card-ratings-all.csv

  1. Download updated card data from Scryfall

Go to https://scryfall.com/docs/api/bulk-data and download the Oracle Cards JSON file.

Move it to data/cards/oracle-cards.json.

  1. Generate the set data

    cd data
    python generate_card_ratings.py