unserializable / monchester

Monchester, chess engine for CECP interfaces and console
GNU General Public License v3.0
4 stars 1 forks source link

CECP 'sd' interpretation only done once per game #15

Open unserializable opened 2 years ago

unserializable commented 2 years ago

CECP 'sd' command handling has been built up too defensively, once decreased limit cannot be increased during the same game anymore, only in new game (CECP new specifies and triggers search depth limit reset): https://github.com/unserializable/monchester/blob/b93ca99e082155fdaa01287d14f7232322b486c3/main.c#L652-L665

Other questionable stuff here too -- I recall that the sd was not allowed to go over 4 as this is the set limit for 'constant reference strength`. However, this might be too much handholding, might be better to allow going over that for power-users who know what they are doing, without need to perform separate compiles for e.g. testing with slower but (somewhat) better playing Monchester.

EDIT: 19.02.2022

Hmm, it might not be only about handhelding of power users, but also living with GUIs, there is report of Arena using obscene number for sd, see Arena "sd=9999" (talkchess.com 24.02 2009, reported by Richard Allbert)

EDIT: 26.02.2022 At least the sd=9999 does not seem to be sent in Arena anymore: https://github.com/unserializable/monchester/issues/10#issuecomment-779156544