Re: [Scidvspc-devel] Patch1: Eval bar for boards, inturn Enabled for Analysis Board
Chess Database and Toolkit program
Brought to you by:
stevenaaus
From: Steve A <ste...@gm...> - 2024-12-26 04:12:02
|
Hmmm... Looks nice :) but it keeps disappearing on my macbook. It's normally not viewable ?? But what you are doing is not too well designed. How are you going to connect the main board (or, say a fics observed board) to an engine. It looks like this only works with engine mini. boards. Moreover, it is *very* complicated to put in a generic board eval class. For example - say i have no engines running, but am observing 3 fics games as mini boards I need three extra engines running in quiet mode to show eval bars on the observed games. Kindof impossible. A generic board eval bar would be great for the game browser (for example), but just way too hard imho. Of course putting one on the engine mini board (like you have done - except it keeps disappearing on my mac!) may be a great idea. Have you noticed i've already coded an eval bar yesterday. I should probably make it work with *any* engine rather than the second engine only. I haven't given linear/log any thoughts. At the moment my bar is just +-5 linear. What do other websites / guis use? Cheers On Thu, Dec 26, 2024 at 9:44 AM C Hanish Menon <han...@gm...> wrote: > Hi, > > This patch adds generic support for showing eval bar wrt any specified > board. Inturn the same is enabled for analysis boards and the main > pv's score is shown as the evalbar. > > Have implemented two different versions of eval bar, one is a simple > linear one and another is a combination of linear+logarithmic one. > > The simple linear version shows the eval bar linearly wrt -4 to 4 with > clipping of values beyond it > > The linear+log version shows a linear movement wrt -1 to 1 which maps > to being adjacent to the 4 and 5 rows, and a logarithmic movement for > beyond. The log values are mapped such that crossing 3 and 6 rows map > to be equivalent to gaining or losing a minor piece and 2 and 7 rows > map to gaining or losing 10 points, and remaining beyond. > > Currently I havent tried to enable this for MainBoard. As one may want > to add an option entry to menu or buttons bar or ... > > -- > Keep ;-) > HanishKVC > |