I have a new version of the website and the generation tools coming out very soon.
[x] Move examples to individual folders
[x] Rename main files
[x] Hide deck selection on mobile
[x] Try offscreen panel
Base set, All Official, or EVERYTHING choices
Add "more options on desktop" message
After merge:
[x] Hacktoberfest label
[x] Add issue to look into WebSQL
Improvements
Digesting all cards from the open spreadsheet
I've used the massive open spreadsheet as a primary source for a long time and now I'm doing it automatically. This will largely take the place of ingesting from the src folder documents.
The digestion from src will remain in the repository to make it easy to create sets with custom decks.
let deck = CAHDeck.fromCompact("./compact.md.json");
deck.listPacks() // Get metadata: [{ name: "CAH Base Pack", official: true, counts: { white: ...
deck.getPack(0); // Get one pack by index (based on listPacks)
deck.getPacks([0, 4]); // Combine packs by index (based on listPacks)
Community Examples
Open source examples of using the cards data in various settings and systems. Starting with one:
I have a new version of the website and the generation tools coming out very soon.
Base set, All Official, or EVERYTHING choicesAdd "more options on desktop" messageAfter merge:
Improvements
Digesting all cards from the open spreadsheet
I've used the massive open spreadsheet as a primary source for a long time and now I'm doing it automatically. This will largely take the place of ingesting from the src folder documents.
The digestion from src will remain in the repository to make it easy to create sets with custom decks.
Brand New Website
Modern look. More accessible. Faster deck downloading with local JS.
JS library to digest compact.md.json
Community Examples
Open source examples of using the cards data in various settings and systems. Starting with one:
Canvas Deck Sampler
Demonstration of ingesting the compact.json file with the basic Javascript library and displaying cards on a canvas element.
Breaking Changes
Change to
compact.md.json
In
cah-all-compact.json
, white cards will now just be a string instead of a JSON object.Removing
.html.txt
sourcesThey are currently not being used and this just creates more work. Will automate markdown to HTML for easier contribution if these files are demanded.
Additional PRs after merge
[x] Icons (separate pull request)
[ ] Custom deck inclusion