Search found 2883 matches

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: 517

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: 1309

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: 1309

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: 1991

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 ...
by Evert
Mon Jul 30, 2018 6:16 am
Forum: Computer Chess Club: General Topics
Topic: Off topic - Who is authorized?
Replies: 6
Views: 799

Re: Off topic - Who is authorized?

You need to be logged in to view profiles now, I think.
by Evert
Thu Jun 21, 2018 11:37 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: about the value of fairy pieces
Replies: 10
Views: 1823

Re: about the value of fairy pieces

I think it's important to make a distinction between opening and end game values. I can imagine Crab/Barc beating a Knight in the end game simply because the Knight cannot easily defend both flanks. I also believe that the value difference between Q and B/R goes down in the end game. What would be a...
by Evert
Thu Jun 21, 2018 5:00 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: about the value of fairy pieces
Replies: 10
Views: 1823

Re: about the value of fairy pieces

But suppose you replace Pawns by (promoting) Ferzes (or allow FIDE Pawns to capture backwards, fmWcF). These make chains that are self-protecting, and can only be damaged at the expense of the first attacker. So it would be more helpful to have two pieces, one of which less valuable than a pair of ...
by Evert
Wed Jun 20, 2018 9:14 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: about the value of fairy pieces
Replies: 10
Views: 1823

Re: about the value of fairy pieces

Seems contrived on a normal board, normal rules and an otherwise balanced army. It would imply that B and C are due some sort of synergy bonus (generalised pair bonus) that is larger when the pieces are further apart (or at least, not on the same square). The effect HGM mentions is of course also im...
by Evert
Tue Jun 12, 2018 5:16 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: whether or not a piece has moved and how many times
Replies: 11
Views: 1869

Re: whether or not a piece has moved and how many times

Curious about how others have implemented calculation of how many times each piece has moved since the beginning of the game. The concern is when a piece has been captured in a make move and then uncaptured and updating the array. How did you solve this? I'd do it the same way I handle the 50-move ...
by Evert
Tue Jun 05, 2018 8:46 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Bitboard for a non-chess game
Replies: 4
Views: 1093

Re: Bitboard for a non-chess game

You should be able to use the same logic as for pawn duo's and hanging pawns (there's a breakdown of the logic on CPW). Essentially you have to find squares that border exactly one empty square, which can be done by testing for squares that have an empty square to the West (say), but not in any of t...