aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/Chessh.ts
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-05-29 14:48:50 -0700
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-05-29 14:53:08 -0700
commit548498d37424f2ac579770962b627aeba61925e8 (patch)
tree1d02f147b82dd8f9a48296f01a2ae2e84d71958c /src/interfaces/Chessh.ts
downloadchessh-bot-548498d37424f2ac579770962b627aeba61925e8.tar.gz
chessh-bot-548498d37424f2ac579770962b627aeba61925e8.zip
added bot
Diffstat (limited to 'src/interfaces/Chessh.ts')
-rw-r--r--src/interfaces/Chessh.ts19
1 files changed, 19 insertions, 0 deletions
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;
+}