/chessh_bot

bad chessh bot using js-chess-engine

Primary LanguageTypeScriptMIT LicenseMIT

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.