Lichess: Difference between revisions
Jump to navigation
Jump to search
| Line 20: | Line 20: | ||
= Python lichess-bot = | = Python lichess-bot = | ||
<youtube>w-aJFk00POQ</youtube> | <youtube>w-aJFk00POQ</youtube> | ||
== Bot-o-Tron == | |||
* https://github.com/tailuge/bot-o-tron | |||
* https://medium.com/@itsromiljain/the-best-way-to-install-node-js-npm-and-yarn-on-mac-osx-4d8a8544987a | |||
<source lang='bash'> | |||
git clone https://github.com/tailuge/bot-o-tron | |||
cd bot-o-tron | |||
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash | |||
# relogin since bash profile is changed ... | |||
nvm install v10.15.3 | |||
npm install -g yarn | |||
npm i -D nyc | |||
yarn install | |||
export API_TOKEN=xxxxxxxxxx | |||
yarn test | |||
yarn start | |||
</source> | |||
= Lichess history = | = Lichess history = | ||
<youtube>LZgyVadkgmI</youtube> | <youtube>LZgyVadkgmI</youtube> | ||
Revision as of 15:27, 21 December 2019
Motivation
PlayChessWithAWebCam shall be integrated with lichess.org
- https://github.com/WolfgangFahl/play-chess-with-a-webcam/issues/17
- https://lichess.org/forum/team-lichess-bots/integrate-play-chess-with-a-webcam-with-lichess
Links
- https://github.com/lichess-org/api/blob/master/doc/specs/lichess-api.yaml
- https://github.com/careless25/lichess-bot
- https://github.com/veloce/lichobile/issues/1088
Bot account
Upgrade account to bot via:
curl -d '' https://lichess.org/api/bot/account/upgrade -H "Authorization: Bearer <yourTokenHere>"
Python lichess-bot
Bot-o-Tron
- https://github.com/tailuge/bot-o-tron
- https://medium.com/@itsromiljain/the-best-way-to-install-node-js-npm-and-yarn-on-mac-osx-4d8a8544987a
git clone https://github.com/tailuge/bot-o-tron
cd bot-o-tron
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
# relogin since bash profile is changed ...
nvm install v10.15.3
npm install -g yarn
npm i -D nyc
yarn install
export API_TOKEN=xxxxxxxxxx
yarn test
yarn start
Lichess history