aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ChesshRequest.ts
blob: 72340ba983b709ce6dead03b0eac3c4f097d5929 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export interface BotMoveRequest {
  bot_id: number;
  bot_name: string;
  game_id: number;
  fen: string;
  turn: string;
  bot_turn: boolean;
  status: string;
}

export interface BotMoveAttempt {
  token: string;
  attempted_move: string;
}

export interface BotMoveResponse {
  success: boolean;
  message: string;
}