ammuench / node-artifact-api

A node module wrapper for the Valve official Artifact API
MIT License
9 stars 4 forks source link

creating deckEncoder #2

Closed kirkdotcam closed 5 years ago

kirkdotcam commented 5 years ago

May not currently work as I don't have a working decoded data set to test on. Current assumption for structure is of the form:

let deck = 
    {
        heroes: [
            [4000, 1], 
            [4003, 1],
        ],

        cards: [
            [4004, 3]
        ],
        name:"ZoosCluze"
    }
;
kirkdotcam commented 5 years ago

Just noticed the spike branch. Going back to make corrections and then amending PR.

kirkdotcam commented 5 years ago

closed to do PR to spike instead of master.