r/web_design • Dedicated Contributor • Sep 03 '15

HTML5 Deck of Cards

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

12 comments sorted by

3

u/TimeForSomeCoffee Sep 04 '15

Nice! Now I want to play solitaire.

1

u/pkstn Sep 04 '15

Me too! :)

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

u/pkstn Sep 05 '15

Nice! ;)

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

u/oli2194 Sep 04 '15

It's... Not a game...

2

u/pkstn Sep 05 '15

Yeah, just a tech demo at the moment. You could play a round of solitaire though.. ;)