Sen descrición

Cadel Watson 01e5d152c2 Improve styles and navigation; add mobile warning hai 10 meses
.idea 4a1545bb91 Remove data files hai 10 meses
css 01e5d152c2 Improve styles and navigation; add mobile warning hai 10 meses
data 4d2a94be31 Remove data files hai 10 meses
html 78e59365e7 init %!s(int64=2) %!d(string=hai) anos
js 01e5d152c2 Improve styles and navigation; add mobile warning hai 10 meses
server 01e5d152c2 Improve styles and navigation; add mobile warning hai 10 meses
src 01e5d152c2 Improve styles and navigation; add mobile warning hai 10 meses
tests 9339ad2982 Load draft from 17lands public URL hai 10 meses
.gitignore 4d2a94be31 Remove data files hai 10 meses
.postcssrc.json 0c4311efc0 Show highlighted card %!s(int64=2) %!d(string=hai) anos
README.md fcb0557ada Updates for EOE hai 10 meses
elm.json 3f2d7f6622 WIP: load drafts straight from 17lands hai 10 meses
package-lock.json a1e4bd2949 Add card explorer hai 10 meses
package.json a1e4bd2949 Add card explorer hai 10 meses
tailwind.config.js 60a32d54c9 Colourise stats %!s(int64=2) %!d(string=hai) anos

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