Search found 186 matches

by Harald
Thu Jan 14, 2021 8:25 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Recommended readings to write a good evaluation function?
Replies: 6
Views: 315

Re: Recommended readings to write a good evaluation function?

Why do you say besides CPW when there are still lots of good evaluation functions that you don't have yet? CPW is good. There are the first simple evaluation features. You can start here: https://www.chessprogramming.org/Evaluation with Basic Evaluation Features. Examples: https://www.chessprogrammi...
by Harald
Fri Jan 08, 2021 6:31 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Piece square tables
Replies: 25
Views: 1729

Re: Piece square tables

I have another question or thought in this discussion.
Some people use piece square tables in the evaluation and for move ordering in the search.
May be the piece square tables for evaluation - especially if auto tuned - are not the best tables
to be used for move ordering. What do you think?
by Harald
Thu Dec 17, 2020 9:40 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Bitboard board representation
Replies: 8
Views: 1183

Re: Bitboard board representation

Sven wrote: Maintaining 2x6 piece bitboards, 2 color bitboards and one "all pieces" bitboard involves some redundancy. If you are looking for speed then you might try to avoid storing more information than needed, and let some information be calculated on the fly. ... Usually doing less memory opera...
by Harald
Thu Dec 17, 2020 9:03 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Bitboard board representation
Replies: 8
Views: 1183

Re: Bitboard board representation

It looks like you use Python. That's not a problem but you may have to translate some syntax from C/C++ to Python. Have a look at the youtube series Bitboard CHESS ENGINE in C https://www.youtube.com/playlist?list=PLmN0neTso3Jxh8ZIylk74JpwfiWNI76Cs 1. How do I represent the actual board? In my old e...
by Harald
Thu Dec 17, 2020 8:02 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Hidden move ordering savings based on piece list shuffles
Replies: 6
Views: 973

Re: Hidden move ordering savings based on piece list shuffles

Since this is alphabeta() and not perft() I think you use the normal search function. Do you use the transposition table (hash table)? And don't clear it between calls? Do you count the nodes before or after the hash table access? Do you skip branches because of hash table lookup results? Even when ...
by Harald
Wed Dec 16, 2020 7:05 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Recommendation for C++ Programming Forums?
Replies: 9
Views: 1203

Re: Recommendation for C++ Programming Forums?

I don't know a forum of the kind that you are looking for. It is not easy for a forum to include the wide range from beginners to experts. https://www.google.com/ First try is Google. Many problems are already diskussed and solved. This will often lead to one of the next addresses: http://www.cplusp...
by Harald
Wed Dec 09, 2020 1:40 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How to make engine more tactical and less positional
Replies: 11
Views: 1582

Re: How to make engine more tactical and less positional

Just an idea, not tested: - Do not use a very big evaluation function. Use a small one with only a few patterns. Like just using piece square tables, passers, simple mobility and king safety pawn shields. - Give a high value to an open center with no blocked pawns. - Give the material a higher weigh...
by Harald
Mon Nov 30, 2020 11:15 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: CECP "time" and "otim"
Replies: 34
Views: 3191

Re: CECP "time" and "otim"

May be this post and picture can help a bit: Winboard state machine diagram http://www.talkchess.com/forum3/viewtopic.php?f=7&t=70502&p=796223&hilit=Harald+state+machine#p796223 But I think this is even a little bit too complicated and the GUI + engine will stay even more in the force mode and less ...
by Harald
Wed Oct 07, 2020 8:04 pm
Forum: Computer Chess Club: General Topics
Topic: A Crossroad in Computer Chess; Or Desperate Flailing for Relevance
Replies: 152
Views: 21211

Re: A Crossroad in Computer Chess; Or Desperate Flailing for Relevance

I don't know enough of NNUE and my knowledge of neural nets is a little bit rusty also. But I try to explain it as I understand it. A neuron in a net is a unit with some inputs that can be activated or not (0, 1) and an output that is also 0 or 1. It calculates its output as a function of the sum of...
by Harald
Mon Oct 05, 2020 2:14 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Bit Board Orientation
Replies: 9
Views: 1884

Re: Bit Board Orientation

I have A8 as bit 63, H8 as bit 56 A1 as bit 07, H1 as bit 00 Then I can read a 64 bit hex number and see the bits easily on the whole board in my imagination since I know the bit representation from 0 to f by heart. For tables I use flipping macros. Then I write them down in a human readable way wit...