From b48aa0847e41e326631a039d740bd2c1b65df3ff Mon Sep 17 00:00:00 2001 From: Halit Aksoy Date: Mon, 1 Aug 2022 21:34:42 +0300 Subject: [PATCH] add game model --- src/models/Game.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/models/Game.ts diff --git a/src/models/Game.ts b/src/models/Game.ts new file mode 100644 index 0000000..ec37311 --- /dev/null +++ b/src/models/Game.ts @@ -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; +} \ No newline at end of file