Log inGet started
World

Shuffle and Deal: Card Decks, Hands and Table Kit

Branchmain
Branchesmain
Commit7c83d7128a

README.md

CardTable

One multiplayer card table on its own synced entity (spawn it with CK.Table { ... } from cardsKit.api in a scene's build). The room host is the dealer: it holds the draw order and every hand, applies every request, and writes the public state field (pile counts, discard pile, table, hand counts, stats, turns, effect queue); each player's cards go to that player alone. Every player gets a full-screen table: the other seats as card backs with counts, the felt with its slots, the draw and discard piles, and their hand in the chosen layout. Drag a card onto the felt to play it (dropped elsewhere it slides back) or tap it and tap the table; drop it on the discard pile to discard. Settings: deck, style, layout, seats, handSize, turns, actions, drawRule, seed, tableCols, tableRows, stats, reversals, autoSeat, showUi, felt, rules. Needs no sibling components; best in a scene whose player intent is none with a Camera entity.