select cards

This commit is contained in:
Gavin McDonald
2025-06-12 18:05:17 -04:00
parent e75d9b41bc
commit 4583b06eba
11 changed files with 217 additions and 13 deletions

View File

@@ -1,5 +1,8 @@
export type CardStyle = 'standard' | 'color' | 'grayscale';
// all = both + back
export type Deck = 'high' | 'common' | 'both' | 'back' | 'all';
export interface Settings {
positionBack: boolean;
positionFront: boolean;
@@ -28,6 +31,7 @@ export interface TarokkaBase {
description: string;
aria: string;
back: boolean;
deck: Deck;
suit: 'Coins' | 'Glyphs' | 'High Deck' | 'Stars' | 'Swords' | null;
extension?: string;
}
@@ -90,6 +94,7 @@ export interface GameUpdate {
export interface ClientUpdate {
gameID: string;
cardIndex: number;
cardID?: string;
}
export interface Layout {