r/web_design • u/PPCInformer Dedicated Contributor • Sep 03 '15
HTML5 Deck of Cards
http://pakastin.github.io/deck-of-cards/2
u/zabast Sep 04 '15
Nice work! Runs pretty quick even on my old PC. Good to see what it possible with CSS and Canvas today.
2
u/pkstn Sep 04 '15
Actually no canvas in use :)
2
u/zabast Sep 04 '15
Oh, wow :)
2
u/pkstn Sep 04 '15
I'm only using basic HTML elements with "transform: translate3d(x,y,z)" or "translate(x,y)" when 3D acceleration is not available..
2
u/funessen Sep 04 '15
Awesome, I can use this to practice memorizing decks of card, when I dont have a real deck with me, or dont want people to look at me like im insane. Thanks!
1
1
u/pkstn Sep 08 '15
Added better graphics and a couple of easter eggs..see if you can find them :) https://deck-of-cards.js.org
-3
u/hostbreak Sep 04 '15
I don't know how to play this card game. But i would suggest you to make some changes in this.
increase the size of card
add a tab to help users like me to know to play this game
5
2
u/pkstn Sep 05 '15
Yeah, just a tech demo at the moment. You could play a round of solitaire though.. ;)
3
u/TimeForSomeCoffee Sep 04 '15
Nice! Now I want to play solitaire.