Aucune description

Cadel Watson a869a6334d Add card sorting il y a 4 mois
.idea 4a1545bb91 Remove data files il y a 4 mois
css a62d3c4496 Add mana costs to decklist il y a 1 an
data 4d2a94be31 Remove data files il y a 4 mois
html 78e59365e7 init il y a 1 an
js fcb0557ada Updates for EOE il y a 4 mois
server 6a97056901 Fetch and save set data from server il y a 1 an
src a869a6334d Add card sorting il y a 4 mois
tests fcb0557ada Updates for EOE il y a 4 mois
.gitignore 4d2a94be31 Remove data files il y a 4 mois
.postcssrc.json 0c4311efc0 Show highlighted card il y a 1 an
README.md fcb0557ada Updates for EOE il y a 4 mois
elm.json 0ea68be7bd Style set selection il y a 1 an
package-lock.json a1e4bd2949 Add card explorer il y a 4 mois
package.json a1e4bd2949 Add card explorer il y a 4 mois
tailwind.config.js 60a32d54c9 Colourise stats il y a 1 an

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