Search found 261 matches

by Pio
Fri Apr 02, 2021 11:34 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Question about the way to use bitboards.
Replies: 35
Views: 3098

Re: Question about the way to use bitboards.

Sven wrote:
Fri Apr 02, 2021 10:57 am
I think the pawn move generation code indeed needs to be color-specific due to the shift left vs. shift right operations.
You are right. You would have to put in the operator in an array as well to make it work or do what I do and that is to rotate the entire board.
by Pio
Thu Apr 01, 2021 11:52 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Question about the way to use bitboards.
Replies: 35
Views: 3098

Re: Question about the way to use bitboards.

Thanks Pio! ... 1) I would put the colour as a parameter to the function, change whites to colour(1) and put black as colour(0). In that way you don’t need separate code for black and white. I thought in it. The point is that I could add many variables to reduce the code lines. But this do not slow...
by Pio
Thu Apr 01, 2021 10:33 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Question about the way to use bitboards.
Replies: 35
Views: 3098

Re: Question about the way to use bitboards.

Hi! I bother you, anyone that could help me, again. I redid the Pawn Movements for the Move Generator of the BitBoard version of Soberango. I think this part of the code is understandable (I translated it from spanish to english) It works, but could someone see if the idea is correct or I´m still d...
by Pio
Thu Mar 25, 2021 6:30 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Why doesn't this seemingly over-powered technique work?
Replies: 5
Views: 794

Re: Why doesn't this seemingly over-powered technique work?

I've come across the concept behind the newest version of Stockfish, Stockfish NNUE. If I'm understanding things correctly, it seems like NNUE uses the normal Stockfish calculation to look several moves deep and then uses a neural net type evaluation instead of a static evaluation (do correct me if...
by Pio
Fri Mar 19, 2021 1:03 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Reinforcement learning project
Replies: 48
Views: 8878

Re: Reinforcement learning project

Indeed, this is what I see. The fully tuned engine is not just weaker than the untuned one: it is enormously weaker. Basically it loses each and every game against the untuned engine. It is also obvious why this is: the PST get such high values that it very quickly sacrifices two or three Pawns to ...
by Pio
Tue Mar 09, 2021 9:59 pm
Forum: Computer Chess Club: General Topics
Topic: Anti-Engine Puzzle
Replies: 59
Views: 4547

Re: Anti-Engine Puzzle

There is no PST in an EGT generator. And no white King either, the way I used it. I am sorry. What I meant was that changing the PST for the white king should help solving the puzzle but it won’t fix it. Not generating moves for white king on e2 (and removing the moves from and to where the black p...
by Pio
Tue Mar 09, 2021 3:53 pm
Forum: Computer Chess Club: General Topics
Topic: Anti-Engine Puzzle
Replies: 59
Views: 4547

Re: Anti-Engine Puzzle

Indeed, that is what I did. Just remove those occupied squares from the board. Not entirely correct, because it ignores that e1 and e2 are not accessible by the black King. But that is a disadvantage for white, and if it doesn't spoil the win, than this apparently did not matter. Another extra hand...
by Pio
Fri Jan 22, 2021 6:36 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Did anyone write a xiangqi chess engine?
Replies: 56
Views: 7875

Re: Did anyone write a xiangqi chess engine?

Hi guys I got a request from one of my subscribers on youtube to create a tutorial on writing Chinese chess (xiangqi) engine. I can't see any major issues with the movegen even though the rules are quite tricky. What confuses me the most is the... I don't even know how to call it... that game is ju...
by Pio
Thu Jan 21, 2021 8:09 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Tapered Evaluation and MSE (Texel Tuning)
Replies: 220
Views: 18729

Re: Tapered Evaluation and MSE (Texel Tuning)

There seems to be some disagreement about what 'Texel tuning' means. As far as I am concerned it is minimizing the MSE in the prediction of the result of the game from which the test positions were taken. That is, finding the global minimum. If you allow yourself to get stuck in a local minimum, yo...
by Pio
Thu Jan 21, 2021 12:19 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Tapered Evaluation and MSE (Texel Tuning)
Replies: 220
Views: 18729

Re: Tapered Evaluation and MSE (Texel Tuning)

Pio, in your last post it seems you are confusing myself with Michael (Desperado). I did not tune just piece values (except for non-productive testing purposes), I did not write about any special effects of MG values only, and my tuning process did not return parameters close to zero. Also I still ...