From 548498d37424f2ac579770962b627aeba61925e8 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Mon, 29 May 2023 14:48:50 -0700 Subject: added bot --- src/interfaces/Chessh.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/interfaces/Chessh.ts (limited to 'src/interfaces/Chessh.ts') diff --git a/src/interfaces/Chessh.ts b/src/interfaces/Chessh.ts new file mode 100644 index 0000000..898fccb --- /dev/null +++ b/src/interfaces/Chessh.ts @@ -0,0 +1,19 @@ +export interface BotMoveRequest { + bot_id: number; + bot_name: string; + game_id: number; + fen: string; + turn: string; + bot_turn: boolean; + last_move: string; + status: string; +} + +export interface BotMoveAttempt { + token: string; + attempted_move: string; +} + +export interface BotMoveResponse { + message: string; +} -- cgit v1.3