lichess-org / lila

♞ lichess.org: the forever free, adless and open source chess server ♞
https://lichess.org
GNU Affero General Public License v3.0
15.05k stars 2.23k forks source link

API option to give time handicap for open ended challenge #11428

Open eyal282 opened 2 years ago

eyal282 commented 2 years ago

I got a discord bot and I want in the "Custom" time control section to allow making handicap time control, which means one player starts with more time than the other.

If it's not overly confusing I'll consider making a PR for it, though I will require help. For now I'll wait for this issue to be approved or declined.

Edit: Giving extra time to the opponent is not possible to do within my bot, because it requires OAuth2 on the player that gives the handicap, and the purpose of open ended challenge is having no authentications.

jalpp commented 2 years ago

I also support this idea, I think customizing open ended challenges with handicap is more user friendly. Specifically for casual challenge users can consider giving “time odds” for their games, not sure if it is required for rated games.

eyal282 commented 2 years ago

I also support this idea, I think customizing open ended challenges with handicap is more user friendly. Specifically for casual challenge users can consider giving “time odds” for their games, not sure if it is required for rated games.

It is a negative feature to rated games, and I obviously don't expect it to be added like that.

Similar to "From Position", this can also be casual locked.