Commit Graph

88 Commits

Author SHA1 Message Date
1a22f4f67d Rename and adjust example decks 2019-01-04 20:05:42 -05:00
4fb1db163f Switch backend to NeDB storage, fix image/json creation 2019-01-04 20:05:42 -05:00
f6bebb4402 Start migration to Express/Vue/Parcel 2019-01-04 20:05:42 -05:00
c071cd133c Remove proposal and evaluations 2018-12-28 16:39:15 +01:00
850fe44920 Update phantomjs, add package-lock.json 2018-12-19 15:20:20 -05:00
0c7695a292 Use path.join instead of string concat 2018-12-19 15:13:29 -05:00
a7ecfc5d1e Send the correct raw TTS json when the TTS output button is pressed 2017-12-03 00:50:05 -05:00
4824d2b9a3 Add some example input jsons 2017-10-12 23:47:45 -04:00
2069f30adf Add some basic css 2017-10-12 23:36:45 -04:00
670154d071 Add URL to README 2017-10-12 23:36:34 -04:00
cabb5dd4c9 Add evaluations 2017-10-12 23:28:54 -04:00
7b335ee722 Fix villain deck image tag 2017-10-12 21:39:13 -04:00
e54734ae4b Fix Face URI quoting 2017-10-12 21:38:59 -04:00
f5f9392ada Add basic README 2017-10-12 11:18:00 -04:00
04105d6c73 Further fix server deck JSON generation 2017-10-12 03:41:16 -04:00
261d0307ce Allow for tap to "flip" cards with two states 2017-10-12 03:39:38 -04:00
9907e21d49 Playfield: Allow decks with spaces in name 2017-10-12 03:16:10 -04:00
c39b37bfbd Switch Playfield to use Fetch instead of XMLHTTPRequest 2017-10-12 03:15:28 -04:00
9d7b375994 Partially fix server side deck generation for heros/villains 2017-10-12 03:13:01 -04:00
32e4bedc59 Remove margin in rendered deck image 2017-10-12 03:12:00 -04:00
8bc7e43732 Add support for hero and villain decks
Should definitely have been smaller commits, but oh well, too lazy to
split them up now

important note: switched editor from XMLHttpRequest to fetch
2017-10-12 02:27:17 -04:00
550811adfd Add a cruddy handler for prompt when unload "unsaved changes" thing 2017-10-11 22:55:45 -04:00
2cfb6608e5 Allow changing the type of deck after generation 2017-10-11 22:55:05 -04:00
89f6e0d638 Fix image edit not working in Chrome 2017-10-11 22:55:03 -04:00
9b66833b8b Add jshit options for editor 2017-10-11 22:52:30 -04:00
32e6d5038f Allow for downloading the input json from the editor 2017-10-11 22:52:23 -04:00
120cd61897 Add basic deck-only input.json for hero and villain 2017-10-11 18:21:50 -04:00
1abb924833 Clean up all SVGs and prep villain and hero for adding 2017-10-11 18:20:42 -04:00
e4be49acaa Add back a common css file, use lower contrast color/background-color 2017-10-09 12:58:10 -04:00
3f2d480635 Editor: Add save button and rearange buttons a bit 2017-10-09 03:46:13 -04:00
a765cefe5f Move css to subdirectory in prep for page-specific css 2017-10-09 03:46:12 -04:00
29b3b70738 Use textareas for block text 2017-10-09 03:46:12 -04:00
9d0326a115 Move deck files to 'decks' subdirectory and ignore 2017-10-09 03:46:02 -04:00
dfb4fa794f Environment Template: Fix image placement 2017-10-09 00:47:34 -04:00
6ed9667dfb Editor: hide things as per input JSON 2017-10-09 00:46:58 -04:00
8d511a18be Use JSON templates for deck info 2017-10-09 00:46:18 -04:00
0c55ba745b Editor: Load existing input JSON if it exists 2017-10-08 18:21:24 -04:00
9574d1f3c5 Allow downloading input JSONs 2017-10-08 17:46:22 -04:00
d20af35c5b Add basic card editing 2017-10-08 16:32:49 -04:00
ff9b00f277 Allow for newlines in wrapped text 2017-10-06 19:15:22 -04:00
a82bc556ba handleUpload: make JSON, write to useful filenames, and add to decks 2017-10-02 14:47:18 -04:00
6ce9aa70ef Simplify server switch/case and check if deck in decks list 2017-10-02 14:47:18 -04:00
837307ad4e Set version, license, and author in package.json 2017-10-02 14:47:18 -04:00
c21d1866be Move playfield and editor html to separate files 2017-10-02 14:47:15 -04:00
6444eae91d Flatten editor.js code 2017-10-02 04:27:28 -04:00
11dbbcffa5 Add jshint header for playfield.js 2017-10-02 03:35:35 -04:00
1ed20fb5d7 Add .gitignore 2017-10-02 03:35:26 -04:00
6faf7988f5 Load more stuff from deck JSON
actually uses deck number and FaceURL

preperation for arbitrary decks (from TTS mods)
also changes to send only the deck part of the JSON
2017-10-02 03:31:05 -04:00
af4f9d25f2 Use PhantomJS to render PNGs from uploaded files
Not in a useful place yet, but hey: progress
2017-10-02 03:24:13 -04:00
c73542e49a Add default text for discard pile 2017-10-01 00:30:18 -04:00