refactored PlayerModel to Player

This commit is contained in:
2025-12-04 18:58:37 +05:30
parent ab9dd42689
commit 68c2e3a8d9
6 changed files with 12 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
export interface PlayerModel {
export interface Player {
user_id: string;
username: string;
index: number;
@@ -20,7 +20,7 @@ export interface GameState {
turn: number;
winner: string | null;
gameOver: boolean;
players: PlayerModel[];
players: Player[];
metadata: Record<string, any>;
}