Package cards

The package cards can be used to build card games. Use the class MacaoCard to create cards. Use the Class MacaoCardStack to handle the cards.

The package cards is implemented in the file core/cards.js. A compressed version of the package is available in the file core/compressed/cards.js. Load this package after the dynamic.js package. When you use this package, you should also include the stylesheet core/cards.css in the page.

Class Summary
MacaoCard

Use the class MacaoCard to create cards for a card game.

MacaoCardStack

A MacaoCardStack handles a list of cards and arrages them on the page. You can use a stack to handle a deck of cards, a row of cards on the table or a hand of cards of a player.