Search found 2889 matches

by Evert
Sat Feb 16, 2019 12:10 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Strange draw scores when searching Fine#70
Replies: 40
Views: 2296

Re: Strange draw scores when searching Fine#70

konsolas wrote:
Sat Feb 16, 2019 11:31 am
Not storing draw scores in the transposition table seems to work for me, though I question how this will affect strength in other areas of the game
In what order do you test for repetition versus checking the transposition table? Does that make a difference?
by Evert
Fri Feb 01, 2019 8:13 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Xiangqi: perpetual chase question
Replies: 6
Views: 692

Re: Xiangqi: perpetual chase question

Chase rules are a convoluted mess, because they are largely defined by precedent rather than a clear-cut rule. At least in my opinion.

With that caveat, the fact that there exists a SEE-neutral exchange after Hd4 says, to me, that this is indeed not a chase.
by Evert
Sat Jan 26, 2019 9:47 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Linux friendly engines at all levels
Replies: 24
Views: 1820

Re: Linux friendly engines at all levels

What he means is that you can use a strong engine (say Stockfish) to simulate a much weaker opponent by allowing it to think only a tiny fraction of the time a truly weak engine would have had to think. It would save you nearly half the CPU time during test games if the opponent would move 100 time...
by Evert
Wed Jan 23, 2019 6:38 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Linux friendly engines at all levels
Replies: 24
Views: 1820

Re: Linux friendly engines at all levels

Jazz and SjaakII should be in that range. You should probably also grab FairyMax (or microMax, I suppose it doesn’t really matter if you’re only interested in normal chess). Might I suggest though that you use something like Stockfish or Komodo at time odds? You want to spend. CPU time on your progr...
by Evert
Thu Jan 03, 2019 3:32 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Generate EGTB with graphics cards?
Replies: 29
Views: 3061

Re: Generate EGTB with graphics cards?

From what I recall, tablebase generation is generally I/O bound, not CPU bound. A tablebase generator typically uses an algorithm like this: 1. Allocate a bitlist for all possible positions 2. Mark all “lost” positions 3. Retro-move from all positions found in 2/5: these positions are “won”. 4. Retr...
by Evert
Thu Dec 20, 2018 3:22 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI pondering done right
Replies: 52
Views: 3000

Re: UCI pondering done right

Bad naming of commands, like hard/easy to means pondering on/off is a much major flaw that makes many programmers (including me) to flee away from the winboard protocol. Well, “hard” means “switch the engine to hard difficulty”, which implied that it would ponder, in some old version of GNU Chess. ...
by Evert
Sun Dec 09, 2018 9:52 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Texel tuning for piece values
Replies: 12
Views: 1286

Re: Texel tuning for piece values

There also is little need to do it, because Larry Kaufman already did it for us, and shared the results. ok I get that but why Rofchade get pieces value like those then const eval pieceValue[2][6] = { 82, 337, 365, 477, 1025, 12000, 94, 281, 297, 512, 936, 12000 }; Why not use 100 as MG pawn value ...
by Evert
Fri Nov 16, 2018 8:01 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Any Fortran coder ?
Replies: 26
Views: 2401

Re: Any Fortran coder ?

i have no problem writing code to handle the UCI interface for now, in fact the only thing i wrote in my engine for now is the UCI parser. Which lead me to my current problem. Writing a UCI parser in Fortran isn’t the main issue (although I never found Fortran string manipulation particularly conve...
by Evert
Fri Nov 16, 2018 6:26 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Any Fortran coder ?
Replies: 26
Views: 2401

Re: Any Fortran coder ?

I worked with Fortran for about ten years, up to a few years ago. Mainly for floating point calculations though, I never really used its bitwise operators, but I seem to recall they’re overly verbose. Fortran’s main strengths, as I see it, are its array block operations and auto-parallelisable loops...
by Evert
Sat Aug 11, 2018 9:05 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Attacks From table
Replies: 12
Views: 2630

Re: Attacks From table

I think you can do better by testing for alignment first, and only then doing a lookup for the actual piece (your xxxAttacksBB functions) if there is alignment. You probably also want to do that in a ray-direction way, rather than by full rank/file/diagonal. You can cache the attack information for ...