#custom opening book for my bot
21 messages · Page 1 of 1 (latest)
how are you running your bot?
from lichess's side, it's just sending you the board state and you respond with a move
so ofc you can just use an opening book. just check if the board state matches a book position, and if so, respond with that move instead of doing whatever your bot does otherwise
if you're using lichess-bot, iirc it has a config option which does this automatically
could you please explain witch is "IIRC" ?
iirc means "if i recall correctly"
I'm running it on Banksia GUI and gave it the API key
So I can run my engine with customs weights, etc.
I just don't know how to add an opening book for my bots that different from Lichess'es
So it can play positions from there too
Wait, so, are you actually running your "own" bot as in one you have written?
Or just Stockfish or something?
Either way, as I said, this isn't really a question that can be answered from Lichess's side. All that Lichess does is send you the state and you respond with a move. So how to use an opening book depends on how you're running your bot.
I guess given that it sounds like you don't really understand what's going on, I'm assuming you're just running an existing bot. At least for Stockfish and probably most other more mature UCI bots, you should be able to specify the opening book as an UCI option.
So I guess it should show up in the bot options in your GUI.
It it's an actual custom bot you've written yourself, you obviously have full control over what it does so you can trivially implement whatever opening book stuff you want yourself.
I guess maybe your GUI also has something like this built in separately but no idea whether it actually does
No, opening books are seen as a job of the GUI, neither Stockfish nor Leela have such UCI options. But he wrote he uses Banksia GUI and that is definitely able to play moves from an opening book.