add game model
This commit is contained in:
parent
7f1c9f0732
commit
b48aa0847e
13
src/models/Game.ts
Normal file
13
src/models/Game.ts
Normal file
@ -0,0 +1,13 @@
|
||||
import { MancalaGame } from "mancala.js";
|
||||
import { UserConnectionInfo } from "./UserConnectionInfo";
|
||||
|
||||
export interface Game {
|
||||
id: string;
|
||||
mancalaGame: MancalaGame;
|
||||
gameUsersConnectionInfo: GameUsersConnectionInfo;
|
||||
}
|
||||
|
||||
export interface GameUsersConnectionInfo {
|
||||
user1ConnectionInfo: UserConnectionInfo;
|
||||
user2ConnectionInfo: UserConnectionInfo;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user