summaryrefslogtreecommitdiff
path: root/README.md
blob: e190b31b97614724c18971242744ad330802e1af (plain)
1
2
3
4
5
6
7
8
9
10
11
# example chessh bot

this is a simple CheSSH bot written in TypeScript using js-chess-engine. it's not very good.

the bot "entrypoint" is at `/src/api/index.ts`.

## environment
```
BOT_TOKEN: the token generated by CheSSH for which the bot will be deployed
CHESSH_MOVE_PATH: the path to POST an attempted move in the form "<from square><to square>" according to the CheSSH contract to the game with id :gameId.
```