types for client/server interaction

This commit is contained in:
Gavin McDonald
2025-04-09 19:54:18 -04:00
parent aed59ef5c7
commit fb3518189a
5 changed files with 57 additions and 28 deletions

View File

@@ -17,3 +17,13 @@ export interface GameState {
cards: GameCard[];
lastUpdated: number;
}
export interface GameUpdate {
id: string;
cards: GameCard[];
}
export interface ClientUpdate {
gameID: string;
cardID: string;
}