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’t anything particular, but what is important is experimentation with various techniques.
So that’s all for a while.
Tested with Opera, Chrome, and for sake of completeness tried also Firefox. Didn’t work with Internet Explorer 9, and for a moment didn’t spend time debugging for failure reason.
So head there and start wasting your time like crazy, shuffling those cards.
Update: 21.4.2013
Well, after quickly testing app with tablet it’s clear that html5 DnD ain’t gonna work with touchscreen. Two issues: a) conflict of touch vs dnd, b) usability of dnd with fat finger.
So, I have always considered DnD (in general, but not always) to be bad for web app, since it can’t cope well with touch. And this app confirms that.
Update: 22.4.2013
So supporting touch devices required slightly different strategy. Since doing drag-move with fat finger on touch device works rather badly, I opted for ”touch select” 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).