From f0ca174ada81a0ec4b1bbff9b70fcc680e4ca0ad Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Mon, 29 May 2023 14:48:50 -0700 Subject: squash everything since there was profanity in the commit log and maybe people won't like that --- src/api/Chessh.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/api/Chessh.ts (limited to 'src/api/Chessh.ts') diff --git a/src/api/Chessh.ts b/src/api/Chessh.ts new file mode 100644 index 0000000..7a35444 --- /dev/null +++ b/src/api/Chessh.ts @@ -0,0 +1,18 @@ +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 { + attempted_move: string; +} + +export interface BotMoveResponse { + message: string; +} -- cgit v1.2.3-70-g09d2