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 06:56:49
|
Yeah, it works under Linux, so not sure of the problem on macOS. Nice looking eval bar :) But like i said... it's value in the mini engine board is ok, but not a deal breaker as you have the numbers there anyway/ And it's totally chaos trying to attach something like this to most normal boards . I'll see if i can get my eval bar working on *any* engine sometime these hols. Maybe you have some ideas about if it should be handled by some other algortithm rather than just +-5 S.A. On Thu, Dec 26, 2024 at 3:39 PM Steve A <ste...@gm...> wrote: > PS , I'm not keen on a vertical eval bar like most guis have.. It's just > too distracting. > So probably just give this a miss now that i have one in the statusbar. > cheers > > On Thu, Dec 26, 2024 at 2:11 PM Steve A <ste...@gm...> wrote: > >> 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 >>> >> |