SkillAgentSearch skills...

Cards.js

Javascript library for card games.

Install / Use

/learn @einaregilsson/Cards.js
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

cards.js

Javascript library for card games.

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

<a href="https://cardgames.io/spades/">Spades</a> | <a href="https://cardgames.io/hearts/">Hearts</a> | <a href="https://cardgames.io/whist/">Whist</a> | <a href="https://cardgames.io/gofish/">Go Fish</a> | <a href="https://cardgames.io/crazyeights/">Crazy Eights</a> | <a href="https://cardgames.io/solitaire/">Solitaire</a> | <a href="https://cardgames.io/freecell/">FreeCell</a> | <a href="https://cardgames.io/idiot/">Idiot</a> | <a href="https://cardgames.io/shithead/">Shithead</a>

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 <a href="http://einaregilsson.github.io/cards.js/">http://einaregilsson.github.io/cards.js/</a>.

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

View on GitHub
GitHub Stars285
CategoryDevelopment
Updated2mo ago
Forks173

Languages

JavaScript

Security Score

95/100

Audited on Jan 9, 2026

No findings