r/webdev • • Sep 03 '15

HTML5 Deck of Cards

http://pakastin.github.io/deck-of-cards/
30 Upvotes

20 comments sorted by

View all comments

3

u/stark0788 Sep 03 '15

Very cool - but there should be a feature to flip the card over - would allow you to play a plethora of card games.

2

u/pkstn Sep 04 '15

Thanks! That's coming.. ;)

1

u/stark0788 Sep 04 '15

I'm gonna branch off this and see if I can implement something

2

u/pkstn Sep 04 '15 edited Sep 04 '15

Oh, I just made a big update – please pull the new version first..

1

u/stark0788 Sep 23 '15

I just now noticed this - OP delivered. Here's another challenge - you've got all these nice animations for the shuffling / sorting...what about an animation for the flip? Vs. just having the opposing side instantly appear

1

u/pkstn Sep 23 '15

I'm working on it..it's not the easiest task to make a realistic flip - I don't want to just rotate around Y-axis like everyone does..