Live data from Hacker News

HTML5 Deck of Cards

pakastin.github.io

131–140 of 165 posts

Re: HTML5 Deck of Cards

#134
post #22

This is quite nice! One "intuitive-but-counterintuitive" result -- when the cards are stacked and I drag from the corner, I end up pulling a card from the middle of the deck. I suppose that's more for a second library that can manage stacks of cards, dealing and interacting with dealt cards, etc.

I will add more power to the API..

Re: HTML5 Deck of Cards

#137

I wrote a simpler version of very nearly the same thing not long ago. But this one is much nicer. The animations, in particular, add a lot of flash.

Thanks! It's fun to make them as realistic as possible. Usually shuffle animations are a bit plain..
Post reply on HN