0.0.1
This commit is contained in:
11
src/types/cards.ts
Normal file
11
src/types/cards.ts
Normal 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[];
|
||||
Reference in New Issue
Block a user