Skip to content

pokerregion/deck-of-cards

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML5 Deck of Cards

Gitter

Pure vanilla JS – no dependencies.

https://pakastin.github.io/deck-of-cards/

where's what?

css/ - CSS source (stylus + nib) of the example

dist/ - deck.js & deck.min.js

example/ - https://pakastin.github.io/deck-of-cards

lib/ - JS (ES6) source of deck.js

views/ - HTML source of the example

build instructions

npm install
npm start

(starts watching for changes..)

Note to self: todo

  • Make z-index temporary by reordering DOM elements between actions
  • Fix moving
  • Make API more open
  • Make cards flippable
  • Maybe use translate3d for even better performance, but make that temporary because of the smoothing issue

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.9%
  • HTML 6.7%
  • CSS 5.4%