Log inGet started
Package

main.scene

Newest version

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

README.md

main

The cardsKit showcase: a two-seat card table. Each player who joins takes a free seat and is dealt 5 cards from a shuffled standard deck in the fantasy frame style, held as a fan. Drag a card onto the green felt to play it (dropped anywhere else it slides back), or tap it and tap a slot; turns alternate. The other seat shows only its card backs and count, and everyone sees the same table, draw pile and discard pile.

The ✦ Gallery button in the bottom-left corner opens a browser of every card frame style (fantasy, sci-fi, classic, minimal, pixel, cartoon), hand layout (fan, row, grid) and starter deck (standard 52, Skirmish effects, tarot), and "Use on table" puts the pick on the table live.

The scene has no walking player ("player": "none"): it plays from the TableCamera entity, so the mouse stays free for the cards. build.luau states all of it as code (a sun, an evening sky, the camera, CK.Table { ... } and the gallery), and scene.json holds the baked result.