This commit is contained in:
2025-08-01 23:20:02 -04:00
parent 7e5bc73b0d
commit e6cee7c2fa
79 changed files with 316 additions and 8 deletions

11
src/types/cards.ts Normal file
View File

@@ -0,0 +1,11 @@
export type Suit = "hearts" | "diamonds" | "spades" | "clubs";
export type Card = {
suit: Suit;
value: number;
};
export type Pile = Card[];
export type Stack = Card[];
export type Hand = Card[];
export type Board = Card[];