{"id":502,"date":"2013-04-20T23:05:26","date_gmt":"2013-04-20T21:05:26","guid":{"rendered":"https:\/\/kari.world.ikari.fi\/?p=502"},"modified":"2013-04-20T23:05:26","modified_gmt":"2013-04-20T21:05:26","slug":"in-series-what-you-did-on-your-weekend","status":"publish","type":"post","link":"https:\/\/kari.world.ikari.fi\/?p=502","title":{"rendered":"In series: What you did on your weekend"},"content":{"rendered":"<p>So what during the weekend?<\/p>\n<p>Well, just a bit more coding and experimenting: <a href=\"https:\/\/github.com\/kikonen\/cardgame\">Simple Klondike<\/a><\/p>\n<p>So I did small refresh in my web app development and cooked up small solitaire game. Of course game itself ain&#8217;t anything particular, but what is important is experimentation with various techniques.<\/p>\n<p>So that&#8217;s all for a while.<\/p>\n<p>Tested with Opera, Chrome, and for sake of completeness tried also Firefox. Didn&#8217;t work with Internet Explorer 9, and for a moment didn&#8217;t spend time debugging for failure reason.<\/p>\n<p>So head there and start wasting your time like crazy, shuffling those cards.<\/p>\n<p><strong>Update: 21.4.2013<\/strong><br \/>\nWell, after quickly testing app with tablet it&#8217;s clear that html5 DnD ain&#8217;t gonna work with touchscreen. Two issues: a) conflict of touch vs dnd, b) usability of dnd with fat finger.<\/p>\n<p>So, I have always considered DnD (in general, but not always) to be bad for web app, since it can&#8217;t cope well with touch. And this app confirms that.<\/p>\n<p><strong>Update: 22.4.2013<\/strong><br \/>\nSo supporting touch devices required slightly different strategy. Since doing drag-move with fat finger on touch device works rather badly, I opted for &#8221;touch select&#8221; approach; mark source and select target. That approach clearly works nicely with touch device (even in moving vehicle, were keeping finger on screen can be challenging).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So what during the weekend? Well, just a bit more coding and experimenting: Simple Klondike So I did small refresh in my web app development and cooked up small solitaire game. Of course game itself ain&#8217;t anything particular, but what is important is experimentation with various techniques. So that&#8217;s all for a while. Tested with&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,23],"tags":[],"class_list":["post-502","post","type-post","status-publish","format-standard","hentry","category-development","category-web"],"_links":{"self":[{"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=\/wp\/v2\/posts\/502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=502"}],"version-history":[{"count":0,"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=\/wp\/v2\/posts\/502\/revisions"}],"wp:attachment":[{"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kari.world.ikari.fi\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}