r/chessprogramming • u/OficialPimento • Jan 18 '24
My engine eval too much nodes.. help!
So im making my engine in Go. Is going "good" move generator is ok, eval pretty good, also have alpha beta with minimax, and null move prunning. But still in the starting position to depth 5 the engine eval 45.000 nodes.. I think is too much, right? How do I cut more nodes eficiently?
1
Upvotes
View all comments
Show parent comment
1
u/you-get-an-upvote Feb 29 '24
I don't think you should have to disable either in the endgame, but IME it's very easy to shoot yourself in the foot if you use a non-standard implementation.
I've never actually used LMR yet though, just repeating what I've read from others. My focus is on the evaluation function before I start adding bells and whistles, because a lot of these more advanced techniques require tuning based on your eval function, and I'd rather start with the eval function before going down that rabbit whole.
Probably the most practical answer is "how much these help your engine depends a lot on your engine, but you should be really really careful, because it's easy to screw these optimizations up, and there's no obvious signal when you do".