#lichess-bot: extend thinking time on first move to await user input

11 messages · Page 1 of 1 (latest)

wooden pumice
#

Hi 🙂 I'm currently working on a gambit training bot (based on Leela). It prompts the user to select a gambit which all works fine, with the one exception that it more or less instantly plays its first move without giving the opponent time to select an opening first. Is there an easy way to extend the thinking time on the first move?

Thanks,
Naphthalin

oak blaze
#

Do you want an extended time limit or to wait indefinitely until the user makes a choice?

wooden pumice
#

Ideally the latter, but the former would already be fine

graceful remnant
#

I went to check the config and it's there

wooden pumice
#

thanks for checking, though that's not exactly what I meant. What I want to achieve is delay the first move of the bot (within the limits for game abortion) until a choice was made by the opponent. That option only allows extending the time allowed for the opponent to play their first move.

oak blaze
#

What is the process you want to implement? Why is your bot making a move before you want it to?

wooden pumice
#

What is the process you want to implement?
the process I want to implement is the opportunity for the opponent to request a certain opening (including the first move as white) before it plays a move
Why is your bot making a move before you want it to?
generally I want it to play fast so I set a node limit and don't fake thinking time. However, even without that the thinking time for the first move would be limited to 10s, while I potentially want to wait longer than that

oak blaze
#

Lichess itself might limit you to 30 seconds maximum before aborting the game.

thorny jay