Difference between revisions of "Lichess"

From BITPlan Wiki
Jump to navigation Jump to search
Line 12: Line 12:
 
* https://github.com/careless25/lichess-bot
 
* https://github.com/careless25/lichess-bot
 
* https://github.com/veloce/lichobile/issues/1088
 
* https://github.com/veloce/lichobile/issues/1088
 +
= Web integration =
 +
<html>
 +
<iframe src="https://lichess.org/embed/cpOszEMY?theme=auto&bg=auto"
 +
width=600 height=397 frameborder=0></iframe>
 +
</html>
  
 
= Bot account =
 
= Bot account =

Revision as of 17:53, 21 December 2019

Motivation

PlayChessWithAWebCam shall be integrated with lichess.org

Source code

Links

Web integration

Bot account

Upgrade account to bot via:

curl -d '' https://lichess.org/api/bot/account/upgrade -H "Authorization: Bearer <yourTokenHere>"

Lichess Bot APIS

Python lichess-bot

Python berserk

Bot-o-Tron (Javascript)

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