Torom / BotLi

Lichess Bot
GNU Affero General Public License v3.0
46 stars 82 forks source link

Offer draw according to EGTB #110

Closed EmptikBest closed 1 year ago

EmptikBest commented 1 year ago

Is your feature request related to a problem? Please describe. Nope

Describe the solution you'd like I would like it so there is a option to ONLY accept/offer draw if the EGTB returns the value as draw/loss.

Describe alternatives you've considered Lichess-bot has this feature I think, but in that way you have a all or nothing package.

Additional context No.

Torom commented 1 year ago

You can already do that. Just set the min_game_length or the consecutive_moves to an unrealistically high value like 300. Neither syzygy nor gaviota nor the online egtb respect these values.

EmptikBest commented 1 year ago

But will that offer/accept draw?

Torom commented 1 year ago

Yes. min_game_length and consecutive_moves are only considered for draw offers based on the engine eval.