ArcticXWolf / AXWChessbot

A simple chess engine written in Golang.
https://lichess.org/@/AXWChessBot
5 stars 0 forks source link

Time management seems weird in Blitz games #7

Closed Wikunia closed 3 years ago

Wikunia commented 3 years ago

It seems like the engine takes roughly 30 seconds for each move in the early stages of a 3 minute Blitz game. As an example: https://lichess.org/ZHIaQa1S Your bot was clearly winning as mine played some weird opening :smiley:

ArcticXWolf commented 3 years ago

Yeah, I noticed the game today. ^^

It was a regression from my implementation of mps timecontrol from #5 . When confronted with a 0 increment, my engine thought it was not a fisher timecontrol game, but a game without timecontrol at all and defaulted to the maximum of 30 secs.

v0.0.9 fixes this and is already deployed on lichess.

Thanks for bringing it up 😄