Skip to content

einaregilsson/cards.js

Repository files navigation

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).