I am trying to use the bot api to integrate a pair of custom physical chess boards so that they can always play against each other. The bot api is the only (legitimate) way I can use to play with them on lichess. The idea is that I and another user will pretty much always have a correspondence game going. There are a couple of drawbacks:
We are restricted to bot accounts, even though we are exclusively making unassisted human moves. I kinda understand this restriction in the context of stopping cheating, but it still feels bad sometimes.
We cannot make new games without going onto the website in a browser. Ideally the board would simply rematch and you can reset and play a new game. The board is raspberry pi based, and designed to run independently without needing user interaction if possible.
My proposal is to dd an api route for a bot issue to issue a challenge. I can forsee a variety of reasons this could be undesirable:
Bots spamming human users with unwanted game requests.
Bot users playing each other at high frequency using server resources.
A couple of simple restrictions could help:
Bot accounts can only challenge accounts that have explicitly followed them. Absolutely cannot send unsolicited challenges to anybody.
Aggressively rate limit bot vs bot challenges. Allow bots to challenge other bots, but not at a frequency beyond what you expect a human v human game to take. This could allow bots to form cliques and test against each other, but not at a volume to severely tax lichess resources. Something like 1 challenge per bot every 5 minutes might be perfectly reasonable.
Again, my intention is to simply use the bot api to facilitate human vs human games with an alternate client. I do not want to get into reverse engineering websockets and trying to fight anti-cheat mechanisms, and would really like to use the official api if at all possible.
Currently fics is our best option, but lichess has so many more features for looking back at games, analysis and so forth. Is there any possibility to make this work?
I am trying to use the bot api to integrate a pair of custom physical chess boards so that they can always play against each other. The bot api is the only (legitimate) way I can use to play with them on lichess. The idea is that I and another user will pretty much always have a correspondence game going. There are a couple of drawbacks:
My proposal is to dd an api route for a bot issue to issue a challenge. I can forsee a variety of reasons this could be undesirable:
A couple of simple restrictions could help:
Again, my intention is to simply use the bot api to facilitate human vs human games with an alternate client. I do not want to get into reverse engineering websockets and trying to fight anti-cheat mechanisms, and would really like to use the official api if at all possible.
Currently fics is our best option, but lichess has so many more features for looking back at games, analysis and so forth. Is there any possibility to make this work?