crhallberg / json-against-humanity

Finally, Cards Against Humanity as plain text and JSON.
https://crhallberg.com/cah/
Other
166 stars 37 forks source link

v2.0 Release Progress #22

Closed crhallberg closed 4 years ago

crhallberg commented 4 years ago

I have a new version of the website and the generation tools coming out very soon. This issue is to track those changes. You can see the changes in the v2 branch, which I will be splitting into feature pull requests soon.

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

gonna write this later

JS library to digest compact.md.json

gonna write this later

Community Examples

gonna write this later

Breaking Changes

Change to compact.md.json

In compact.md.json, white cards will now just be a string instead of a JSON object.

{
  "cards": {
    "white": [
-     { "text": "A sexy saddle." },
+     "A sexy saddle.",
    ]
  }
}

Removing .html.txt sources

They are currently not being used and this just creates more work. Will automate markdown to HTML for easier contribution if these files are demanded.

Tracking

crhallberg commented 4 years ago

Moved to PR.