当前位置:

HTML5扑克牌:HTML5 Deck of Cards_HTML5_WEB

纯JS实现的HTML5扑克牌。
HTML5扑克牌:HTML5 Deck of Cards0
示例:http://deck-of-cards.js.org

Version history

  • 0.0.2 made intro shorter & added "poker"
  • 0.0.1 initial version

Where's what?

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

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

example/ - http://deck-of-cards.js.org

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
  • Enhance API, make more generic
  • Make cards flippable
  • Maybe use translate3d for even better performance, but make that temporary because of the smoothing issue

项目主页:http://www.open-open.com/lib/view/home/1441373273565

评论:

登录后发表评论




2023.01.28 群组聊天