lichess.org
Donate

Playing as a lichess BOT - the easy way

1) register a fresh lichess account

2) visit easychess.herokuapp.com/auth/lichess/bot

3) approve lichess oauth form ( it will ask for permissions for reading incoming challenges, creating / accepting / declining challenges and playing as bot )

https://i.imgur.com/EZmzmRJ.png

That's it. You have a BOT that is online, ready to accept challenges and play moves.

It will play random moves for the moment, as a test, but this can be improved. Currently the supported variants are standard and atomic, so you have to challenge the bot in these variants.

The bot will be online as long as you keep the page in your browser and you are connected.

Once you registered, it is enough to visit:

easychess.herokuapp.com

to bring your bot online.
Added WASM Stockfish to the bot, so it now can play sensible moves. If you still want random moves then check Settings / Make random bot moves.

It can play correspondence and unlimited as well. In these cases I fake a relatively low thinking time, so that it makes a move quickly instead of thinking for hours.
Added the option to play book moves. You can set your book using the interface, by assigning weights to moves.

This is how the analysis of the atomic starting position looks like in easychess:

https://i.imgur.com/JxYoeJN.png

The bot will play the moves that have greater than zero first weights ( green moves ), using the random weighted method. Second weight is for training, it means play those move against me ( even if they are not recommended to play by myself ).

This way you can make the bot play according to your theory. You can use it to train your repertoire and finish off book lines using an engine.
I don't get it. Why would I do this? Is it for coding practice or does it serve a purpose for one as a chess player? I am phenomenally incompetent on this topic.
@Bot2020Test I don't know. Did the bot account generate the text and send it? Or do you post through the bot or am I missing everything still?
I received questions in the thread, I will answer them later in due course.

However as a side effect of this app, I discovered that you can make your human account appear as an online bot, by visiting the link in the OP and approving the oauth form:

easychess.herokuapp.com/auth/lichess/bot

As long as you keep the resulting page in your browser, you will be listed as an online bot.

You can check this by visiting this link in a separate(!) browser tab ( don't close the original page by clicking on this link ):

lichess.org/player/bots

The reason is that bots which open their event stream, are considered to be online. However opening an event stream does not require you to be a bot:

lichess.org/api#operation/apiStreamEvent

The app opens the event stream, because a failure of upgrade can come from a bot already upgraded, so this won't trigger the app not opening the event stream. The app simply believes your word, that your are a bot, when you log in with lichess-bot oauth credentials ( scopes ).

I will definitely report this as a git issue if nothing is done about it, but let us have a little fun with it for the moment and see if other users can reproduce this behavior.

https://i.imgur.com/ClczzKN.png
I still do not understand why...do this for what purpose? Why would one want to appear as a BOT? Why would one setup a BOT account? I'm just curious.

This topic has been archived and can no longer be replied to.