Is Fischer Time Implemented Correctly?

32 views
Skip to first unread message

RandyR

unread,
Sep 25, 2025, 10:37:45 AM (yesterday) Sep 25
to PicoChess
I don't know why I didn't notice this before but I think our implementation of the starting time on the clock is wrong. If I select 15 10 in Fischer time, the clock has starting times of 0:15.10  0:15:10 and after the first move for White it changes to 0:15.20  0:15:10 and Black's time starts decreasing. I think there's an extra increment added as the starting times, which I believe should be 0:15.00  0:15.00.

Am I wrong or did we change something and just didn't notice it?

Randy

Dirk

unread,
Sep 25, 2025, 11:43:12 AM (yesterday) Sep 25
to pico...@googlegroups.com, PicoChess
Oh - you are absolutely right that shouldn’t be correct.
Von meinem iPad gesendet

Am 25.09.2025 um 16:37 schrieb RandyR <randy...@gmail.com>:

I don't know why I didn't notice this before but I think our implementation of the starting time on the clock is wrong. If I select 15 10 in Fischer time, the clock has starting times of 0:15.10  0:15:10 and after the first move for White it changes to 0:15.20  0:15:10 and Black's time starts decreasing. I think there's an extra increment added as the starting times, which I believe should be 0:15.00  0:15.00.

Am I wrong or did we change something and just didn't notice it?

Randy

--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/picochess/3e97e52d-cb0f-4060-ab6b-dfa1a0f2d92fn%40googlegroups.com.

RandyR

unread,
Sep 25, 2025, 1:54:17 PM (23 hours ago) Sep 25
to PicoChess
It's in the timecontrol.py reset(self) function:

125        elif self.mode == TimeMode.FISCHER:
126            self.clock_time[chess.WHITE] = self.clock_time[chess.BLACK] = self.game_time * 60 + self.fisch_inc

I created a PR in your repo. Maybe Johan can adjust his fork as I don't know Git well enough to PR another fork (I think it's something like 'git remote add Johans_v4_repo https://github.com/JohanSjoblom/picochess' then checkout, etc).

Randy

Johan Sjöblom

unread,
Sep 25, 2025, 2:38:18 PM (23 hours ago) Sep 25
to PicoChess
This is so nicely served on a silver plate so I can adjust V4.
Reply all
Reply to author
Forward
0 new messages