Commit Graph

53 Commits

Author SHA1 Message Date
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
7e92d05433 Allow spaces in deck names 2017-10-01 00:30:07 -04:00
b397c08268 Fix deckWidth->deckHeight typo 2017-09-30 17:37:49 -04:00
ca33ac3c72 Simplify access to deckJSON a bit
only needed a subsection
2017-09-29 04:25:12 -04:00
9dd5a07da8 Allow adding to bottom of pile by holding shift 2017-09-28 17:40:07 -04:00
a69bbd4f8d Make pile list behavior a bit less dumb
- drag and drop doesn't jump all over the place
 - can't drag cards from list into piles
2017-09-28 15:23:39 -04:00
16e553b4ff Add page titles 2017-09-28 14:02:40 -04:00
729b32e709 Use a list for deck index
Not terribly useful yet, but easier to manually add to
2017-09-28 12:59:30 -04:00
ef1ce122bb Minor style fixes 2017-09-28 12:58:28 -04:00
4d7a2d7172 Use real width of SVGs for translation in editor 2017-09-28 12:57:23 -04:00
ed2d7092ae Allow re-arranging cards in piles and properly draw things in that view 2017-09-28 12:49:22 -04:00
f38f31ec58 Add shake animation for shuffling piles 2017-09-25 13:10:33 -04:00
1197c82895 Rearrange text in environment/card so order matches layout 2017-09-24 19:58:26 -04:00
3e15af8c9f Indent environment/card 2017-09-24 19:36:53 -04:00
6828b80709 Use linear gradient for text in environment/card 2017-09-24 19:36:19 -04:00
32a87ba99d Really basic client-side card generation 2017-09-24 16:45:51 -04:00
e48059ac82 Move client js to 'js' subfolder, rename script.js to playfield.js 2017-09-23 21:31:06 -04:00
3c2190b940 Provide a search box for filtering cards in pile list 2017-09-21 13:10:00 -04:00
c750096044 Make scaling happen on doubletap, and be more persistent 2017-09-21 12:03:43 -04:00
179a67e5fa Prevent right click context menu
Chrome (again) makes a context menu when a touch pointer is
held. We'll have none of that
2017-09-21 12:03:10 -04:00
30bdfb9fdd Disable touch actions on all elements, except vertical scroll
disables stupid chrome gestures
2017-09-21 12:00:04 -04:00
6770ad949e Move pile shuffle from click listener to interact.js tap event 2017-09-21 02:42:40 -04:00
af181e38e7 Fix contentType -> Content-Type 2017-09-21 02:42:40 -04:00
c82b4c7f40 Minor fixes and cleanups 2017-09-21 02:42:40 -04:00
31a60916f7 Add modal pile listing 2017-09-21 02:42:40 -04:00
b1746ec68e Center align text in piles 2017-09-21 02:42:40 -04:00
27fa1e69ff Fix card backgroundPosition in Chrome
Apperently, in Firefox you can get the style before appending, whereas
in Chrome you cannot
2017-09-21 02:42:40 -04:00
0d724988d5 Shuffle decks on click 2017-09-21 02:42:40 -04:00
c7e4774fba Set correct name when updating pile text 2017-09-21 02:42:40 -04:00
906339debb Initial setup for multiple decks 2017-09-21 02:42:40 -04:00
802f76db8a Basic playmat stuff: deck/discard, hand, card movement 2017-09-21 02:42:40 -04:00
1c9bda694d Add timeline and evaluation to proposal 2017-09-21 02:29:50 -04:00
4f5c7809f9 Extremely minimal README 2017-09-21 02:11:44 -04:00
559a5ac69f Add proposal 2017-09-21 01:49:28 -04:00
Anqi Lu
974b0b86b7 Only one submission necessary 2017-09-12 14:52:37 -04:00
Anqi Lu
ef98518e53 add naming scheme 2017-09-12 13:25:45 -04:00