Log inGet started
Package

api.module

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

cardsKit.api

The one interface to cardsKit: local CK = require("cardsKit.api"). CK.Table { deck, style, layout, ... } spawns a synced multiplayer card table in a scene's build; CK.table(name) finds the live table (draw, play, discard, choose, endTurn, reshuffle, sweep, restart, set, hand, view); CK.rules(name, hooks) adds game rules the dealer runs; CK.on(event, fn) listens to plays, draws and turns; CK.card, CK.deck, CK.registerDeck, CK.defineEffect; the catalog CK.CATALOG / CK.variants of the six styles, three layouts and three decks; and the pure modules (CK.Game, CK.Cards, CK.Decks, CK.Shuffle, CK.Effects, CK.Styles, CK.Layouts).