TrifectaIII / MTG-Card-Reader-Web

MTG-Card-Reader 2.0, built as a webpage.
https://mtg-cr.tk
46 stars 4 forks source link

Get full matching system up and running #6

Closed TrifectaIII closed 5 years ago

TrifectaIII commented 5 years ago

Need to send set and png data in HTTPReq, and need to return both url and card name to the JS script.

Need to get the set selector element up and running correctly with all sets as options

TrifectaIII commented 5 years ago

Example js code to access server side file list:

var fs = require('fs');
var files = fs.readdirSync('/assets/photos/');
TrifectaIII commented 5 years ago

figure out post request headers to send card name along with png data

TrifectaIII commented 5 years ago

full matching now working: selecting set on page will match to that set. Still need to generate more set files.