Log inGet started
World

Game Night: Cards, Dice and Board Games Kit

Branchmain
Branchesmain
Commit0cb8462300

README.md

cardsKit.layouts

Three ways to hold a hand, as card positions inside a box: fan (an overlapping arc), row (a straight line that overlaps only when it must) and grid (wrapping rows that show every card in full, good for big hands and phones). Layouts.place(layout, n, width, height, { cardW, maxW }) returns each card's x, y, rotation and size and picks a card width that fits. Used by the CardTable's hand and the CardGallery.