@vankosoft/game-platform 1.5.11 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,9 +9,6 @@ import { ChessSquareDto } from './chessSquareDto';
9
9
  import { BoardGamePlayersList } from './BoardGamePlayersList';
10
10
 
11
11
  export interface BoardGameDto extends GameDto {
12
- // blackPlayer: BoardGamePlayerDto;
13
- // whitePlayer: BoardGamePlayerDto;
14
-
15
12
  players: BoardGamePlayersList;
16
13
 
17
14
  currentPlayer: PlayerColor;
@@ -0,0 +1,6 @@
1
+ import { CardGamePlayerDto } from './playerDto';
2
+
3
+ export interface CardGamePlayersList
4
+ {
5
+ [key: number]: CardGamePlayerDto;
6
+ }
@@ -3,8 +3,10 @@ import { CardGamePlayerDto } from './playerDto';
3
3
  import { PlayerPosition } from '../../Enum/playerPosition';
4
4
  import { CardGameTeam } from '../../Enum/cardGameTeam'
5
5
 
6
+ import { CardGamePlayersList } from './CardGamePlayersList';
7
+
6
8
  export interface CardGameDto extends GameDto {
7
- players: CardGamePlayerDto[];
9
+ players: CardGamePlayersList;
8
10
 
9
11
  validBids: any;
10
12
  validCards: any;
@@ -4,8 +4,11 @@ import { IPlayer } from './PlayerInterface'
4
4
  export interface IGameRoom
5
5
  {
6
6
  id: number;
7
+ owner: string;
8
+ game: string;
9
+ //game: IGame;
10
+ status: string;
7
11
  isPlaying: boolean;
8
- game: IGame;
9
12
  slug: string;
10
13
  name: string;
11
14
  players: IPlayer[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vankosoft/game-platform",
3
- "version": "1.5.11",
3
+ "version": "1.6.1",
4
4
  "description": "Game Platform",
5
5
  "repository": {
6
6
  "type": "git",