einaregilsson / cards.js

Javascript library for card games.
https://einaregilsson.github.io/cards.js/
MIT License
273 stars 164 forks source link

cards.js

Javascript library for card games.

I have created a lot of javascript card games. As of 12.05.2012 I've made

Spades | Hearts | Whist | Go Fish | Crazy Eights | Solitaire | FreeCell | Idiot | Shithead

I've gotten many inquiries about how I make them, especially around the card animations, so I'm going to try to extract the generic parts of these games into a library for manipulating cards. To see an interactive demo and documentation you can go to http://einaregilsson.github.io/cards.js/.

The card deck images are made by Nicu Buculei, and are in the public domain (found on openclipart.org).