diff options
| author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-05-31 19:11:57 -0700 |
|---|---|---|
| committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-06-03 17:47:44 -0700 |
| commit | 0f5555b92915b175a685a24ade9276d170ae37f5 (patch) | |
| tree | 78ae08b1aaa0263d012ca4037028a21728179bd6 /src/api/Chessh.ts | |
| parent | 926bebb122ba4226b65088bd0d2f964c8d9e9f8c (diff) | |
| download | chessh-bot-0f5555b92915b175a685a24ade9276d170ae37f5.tar.gz chessh-bot-0f5555b92915b175a685a24ade9276d170ae37f5.zip | |
move to docker compose, fuck vercel
remove other unnecesaary stuff
Diffstat (limited to 'src/api/Chessh.ts')
| -rw-r--r-- | src/api/Chessh.ts | 19 |
1 files changed, 19 insertions, 0 deletions
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; +} |
