XBoard time and otim: do they contain the increment?

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
mvanthoor
Posts: 1784
Joined: Wed Jul 03, 2019 4:42 pm
Location: Netherlands
Full name: Marcel Vanthoor

XBoard time and otim: do they contain the increment?

Post by mvanthoor »

As the title says: do the "time" and "otim" commands contain the increment, if it's a game that is played with increment?

This is the last part I need to implement to get a complete (like, on-par with UCI) implementation of XBoard. Next week I have a few free days coming up, and I've decided to spend some time and try to implement this last step. I can't determine from the XBoard specs if I should add the increment to the incoming time/otim, or if it's already in there.
Author of Rustic, an engine written in Rust.
Releases | Code | Docs | Progress | CCRL
jswaff
Posts: 105
Joined: Mon Jun 09, 2014 12:22 am
Full name: James Swafford

Re: XBoard time and otim: do they contain the increment?

Post by jswaff »

mvanthoor wrote: Sat Jul 09, 2022 12:24 am As the title says: do the "time" and "otim" commands contain the increment, if it's a game that is played with increment?

This is the last part I need to implement to get a complete (like, on-par with UCI) implementation of XBoard. Next week I have a few free days coming up, and I've decided to spend some time and try to implement this last step. I can't determine from the XBoard specs if I should add the increment to the incoming time/otim, or if it's already in there.
They are simply the time currently on the clock. If time hits 0, you're out of time. Once you make a move any increment is added and will be reflected in the next value reported by time.