Commit Graph

15 Commits

Author SHA1 Message Date
e54734ae4b Fix Face URI quoting 2017-10-12 21:38:59 -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
c21d1866be Move playfield and editor html to separate files 2017-10-02 14:47:15 -04:00
11dbbcffa5 Add jshint header for playfield.js 2017-10-02 03:35:35 -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
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
ef1ce122bb Minor style fixes 2017-09-28 12:58:28 -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
e48059ac82 Move client js to 'js' subfolder, rename script.js to playfield.js 2017-09-23 21:31:06 -04:00