2022-08-01 21:34:42 +03:00
|
|
|
import { MancalaGame } from "mancala.js";
|
|
|
|
|
import { UserConnectionInfo } from "./UserConnectionInfo";
|
|
|
|
|
|
|
|
|
|
export interface Game {
|
|
|
|
|
id: string;
|
|
|
|
|
mancalaGame: MancalaGame;
|
|
|
|
|
gameUsersConnectionInfo: GameUsersConnectionInfo;
|
2022-09-02 00:33:31 +03:00
|
|
|
spectatorIds: string[];
|
2022-08-01 21:34:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface GameUsersConnectionInfo {
|
|
|
|
|
user1ConnectionInfo: UserConnectionInfo;
|
|
|
|
|
user2ConnectionInfo: UserConnectionInfo;
|
|
|
|
|
}
|