From 0f5555b92915b175a685a24ade9276d170ae37f5 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Wed, 31 May 2023 19:11:57 -0700 Subject: move to docker compose, fuck vercel remove other unnecesaary stuff --- src/api/Chessh.ts | 19 +++++++++++++++++++ 1 file changed, 19 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..898fccb --- /dev/null +++ b/src/api/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