Search found 196 matches

by Harald
Tue Feb 16, 2021 2:49 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Coding Adventure: Chess AI
Replies: 21
Views: 1146

Coding Adventure: Chess AI

I just found this video from Sebastian Lague (Feb 12, 2021):
Coding Adventure: Chess AI
https://www.youtube.com/watch?v=U4ogK0MIzqk

Chess programming looks so easy! :-)
by Harald
Thu Feb 04, 2021 5:03 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Sorting moves during move ordering
Replies: 16
Views: 1387

Re: Sorting moves during move ordering

What about quicksorting only the left half of the move array recursively? function quicksort(array) if length(array) > 1 pivot := select any element of array left := first index of array right := last index of array while left ≤ right while array[left] < pivot left := left + 1 while array[right] > p...
by Harald
Wed Feb 03, 2021 5:30 pm
Forum: Computer Chess Club: General Topics
Topic: Playing with "The Secret of Chess"
Replies: 9
Views: 1410

Re: Playing with "The Secret of Chess"

Copyright issue? The book has a copyright notice. And I took all features and all numbers from the book. On the other hand this is a C++ program and not a text. That is much more than a translation. Ideas and algorithms in software are free anyway (or should be). Most of the features are well known ...
by Harald
Wed Feb 03, 2021 12:45 pm
Forum: Computer Chess Club: General Topics
Topic: So what do we miss in the traditional evaluation?
Replies: 29
Views: 4164

Re: So what do we miss in the traditional evaluation?

To me, this is a very interesting approach. It's essentially mentor-assisted evaluation function optimization (see https://elidavid.com/pubs/mentor.pdf). I imagine I'd do it by implementing every eval term known to man (taking them, for example, from L. Tsvetkov's compendium). Once you calculate al...
by Harald
Sat Jan 30, 2021 4:01 pm
Forum: Computer Chess Club: General Topics
Topic: So what do we miss in the traditional evaluation?
Replies: 29
Views: 4164

Re: So what do we miss in the traditional evaluation?

Please have a look at another thread:
Playing with "The Secret of Chess"
viewtopic.php?f=2&t=76453
by Harald
Sat Jan 30, 2021 3:56 pm
Forum: Computer Chess Club: General Topics
Topic: Playing with "The Secret of Chess"
Replies: 9
Views: 1410

Re: Playing with "The Secret of Chess"

... EvalTopicPieceActivity , Bishop attacking opp defended pawn, B, 205322, -10, 0, 0, -146849, 0, 948, 265 EvalTopicPieceActivity , Bishop xray attacking center, B, 11910, 4, 8, 7, 85999, 0, 948, 213 EvalTopicPieceActivity , Bishop xray attacking square in front of opp backward pawn, B, 1520, 6, 6,...
by Harald
Sat Jan 30, 2021 3:55 pm
Forum: Computer Chess Club: General Topics
Topic: Playing with "The Secret of Chess"
Replies: 9
Views: 1410

Re: Playing with "The Secret of Chess"

May be even more interesting is the combined result of 1 million gm2600 position that maksimKorzh posted here lately. Doing this takes two minutes. In the table i_p means interpolation_permille that gets up from midgame 0 to endgame 1000. Evaluation info statistic: Evaluation Topic, Feature, Piece, ...
by Harald
Sat Jan 30, 2021 3:52 pm
Forum: Computer Chess Club: General Topics
Topic: Playing with "The Secret of Chess"
Replies: 9
Views: 1410

Playing with "The Secret of Chess"

Playing with "The Secret of Chess" ================================== Everybody is now either talking about neural nets or doing just material and piece square table evaluation. I did something completely different during the last lockdown weeks. I implemented an alternative evaluation in C++ in my ...
by Harald
Sat Jan 30, 2021 1:39 pm
Forum: Computer Chess Club: General Topics
Topic: So what do we miss in the traditional evaluation?
Replies: 29
Views: 4164

Re: So what do we miss in the traditional evaluation?

May be this would help: - Use evaluation patterns and features that are lasting longer and are not overruled by short tactics. - Give the engine enough evaluation patterns that it is never lost in any situation in the game. - Give it steps and bases in the position space that it can reach one by one...
by Harald
Wed Jan 20, 2021 7:58 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Evaluation reflections
Replies: 11
Views: 1688

Re: Evaluation reflections

In the beginning I would not use a very tuned piece square table but use a more simple one. That should give all your pawns and pieces a general direction and a frame where they belong. The different values on the squares compared to a tuned PST should step by step be explained and achieved by addit...