Search found 79 matches

by odomobo
Mon Jul 06, 2020 3:48 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stockfish has included WDL stats in engine output
Replies: 58
Views: 15856

Re: Stockfish has included WDL stats in engine output

. But I hope you do realise that you will have to rewrite Stockfish's evaluation almost completely. You can't just convert SF's current (usually additive) scoring components into probabilities or "probability components". (And this thread has "Stockfish" in the title.) No need, NN eval for SF is al...
by odomobo
Thu Jun 18, 2020 5:40 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perft speed and depth questions
Replies: 43
Views: 11229

Re: Perft speed and depth questions

The code seems fine to me. If you change the find function to just return false (which should effectively disable hashing), do you still get the wrong value? If you get the right value, then I think your hash function must be missing a parameter, for example, en passant or castling rights. The numbe...
by odomobo
Fri Jun 12, 2020 7:30 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perft speed and depth questions
Replies: 43
Views: 11229

Re: Perft speed and depth questions

Ok, it is getting late and it is Friday, but I have pasted this in to my code and get pretty much the same results as my original Perft routine... I am obviously doing something silly... hopefully clarity will come in the morning. Note that if you use "nodes" to calculate nodes per second, it will ...
by odomobo
Wed Jun 03, 2020 5:17 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ryzen 2 and BMI2?
Replies: 52
Views: 21508

Re: Ryzen 2 and BMI2?

Does anyone know applications of PDEP and PEXT in a hot loop, outside of computer chess? That should tell us whether AMD will ever prioritize these implementations.
by odomobo
Thu May 07, 2020 3:17 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: front-ending
Replies: 22
Views: 2536

Re: front-ending

A FEN parser will be at least 5 times more complex. Hm yeah, seems reasonable. To play automated games under WinBoard at the default TC only requires: ... So based on this, I guess this is already a solved problem. The only piece missing, I would argue, is this isn't very well documented (or rather...
by odomobo
Wed May 06, 2020 10:42 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: front-ending
Replies: 22
Views: 2536

Re: front-ending

In the end this commandline will be stripped from the engine and become an optional feature that can be enabled during compiling. The protocols start with identification commands (uci starts with "uci", cecp starts with "xboard"). Your engine can support all of them, and just dynamically select the...
by odomobo
Wed May 06, 2020 10:39 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: front-ending
Replies: 22
Views: 2536

Re: front-ending

When you do want to have a function for position setup in a minimal protocol, rather than using moves or illegal moves, you could add understanding of drop moves, like P@e2, and a command for clearing the board. I like this idea. You'd also probably want some commands for handling castling rights, ...
by odomobo
Wed May 06, 2020 9:04 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: front-ending
Replies: 22
Views: 2536

Re: front-ending

If you would abandon the requirement that input moves must be legal, it becomes much easier to set up a given position. Just move pieces that are not yet where they are supposed to be to the square where they should go. If that square is occupied, just move the occupant to an empty square first. Yo...
by odomobo
Tue May 05, 2020 9:13 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: front-ending
Replies: 22
Views: 2536

Re: front-ending

As much as it's a bad idea to fragment protocols for any technology, I think there's room for a separate minimalistic protocol separate from CECP and UCI. Chiefly, it would implement only the minimum required instructions to play a game of chess, and it would be synchronous. The purpose for this is ...