LeftistTachyon / SimpleChess

My latest chess project! The next iteration up from OfflineChess.
MIT License
2 stars 0 forks source link

Early first second decrement #28

Closed LeftistTachyon closed 6 years ago

LeftistTachyon commented 6 years ago

The first second after the grace period ends prematurely. I don't know what's causing it, but once it's found it should be easy to fix.

LeftistTachyon commented 6 years ago

I know now. Say you start with 60 seconds. After decrementing .1 seconds, the timer drops to 59 seconds. I could start off the timer with .9 seconds excess

LeftistTachyon commented 6 years ago

I'll do that.

LeftistTachyon commented 6 years ago

Or I'll observe what lichess does

LeftistTachyon commented 6 years ago

Lichess does this early second thing too. Closing this "issue" since nothing needs to be done.