Search found 2288 matches

by Michael Sherwin
Tue Apr 07, 2020 8:49 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Rewriting RomiChess from scratch for SMP
Replies: 15
Views: 382

Re: Rewriting RomiChess from scratch for SMP

The MSVC compiler has its inconsistencies. _BitScanForward64() requires an & unsigned long to store the index. When typefdef uint32_t u32; is used it flags it as an error and typedef unsigned long u32 it likes. Also typedef was not working in multi file source. Instead of #defines the compiler wante...
by Michael Sherwin
Tue Apr 07, 2020 8:20 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Rewriting RomiChess from scratch for SMP
Replies: 15
Views: 382

Re: Rewriting RomiChess from scratch for SMP

That does not seem to be too high of a cost to keep the advantage of a scored list of legal moves for internal move ordering? Just measure and test. :-) However, there are also some other things: #define s08 signed char; The semicolon is wrong. Actually, the whole define is wrong because you never ...
by Michael Sherwin
Tue Apr 07, 2020 7:52 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Rewriting RomiChess from scratch for SMP
Replies: 15
Views: 382

Re: Rewriting RomiChess from scratch for SMP

I had it in my head that the initialization had been combined into one function. No it is two functions. Added second function. Also redesigned to check for fail high at leaf nodes and return FAILHIGH upon detection. The immediate additional cost is only one compound if statement. That does not seem...
by Michael Sherwin
Tue Apr 07, 2020 6:57 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Rewriting RomiChess from scratch for SMP
Replies: 15
Views: 382

Re: Rewriting RomiChess from scratch for SMP

This seems efficient as this has to be done on all leaf nodes regardless. This is horribly inefficient because if you get a fail-high on the first move of a leaf node, then you have done the computation for all the other moves in vain. I'd go with a pseudo legal move generator and do the legality c...
by Michael Sherwin
Tue Apr 07, 2020 5:37 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Rewriting RomiChess from scratch for SMP
Replies: 15
Views: 382

Rewriting RomiChess from scratch for SMP

Something I've wanted to do for 15 years but was unable to do for reasons that there is no need to rehash. Anyway, if I do not do it now I never will. I have at least 3 months of food on hand so I do not have to leave the house. The code will be much cleaner or so that is the goal. The move generati...
by Michael Sherwin
Tue Apr 07, 2020 3:35 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: The devilish fail low
Replies: 34
Views: 782

Re: The devilish fail low

This is a whatif from the point of view of white. And this might require fail soft. White is searching a move at the root. Black has a best move that leaves white with only one reply to keep the balance, then add depth to that root move in subsequent iterations. Or white has another move just as goo...
by Michael Sherwin
Mon Mar 30, 2020 4:23 pm
Forum: Computer Chess Club: General Topics
Topic: New RomiChess, soon
Replies: 24
Views: 1602

Re: New RomiChess, soon

RomiChess is an old Winboard engine. So sorry, but no is the answer. However, Romi takes chances and can be beat by lower rated engines and lower rated people. But probably not by a beginner.
by Michael Sherwin
Mon Mar 30, 2020 12:29 am
Forum: Computer Chess Club: General Topics
Topic: New RomiChess, soon
Replies: 24
Views: 1602

Re: New RomiChess, soon

In an interview during her match with Yace Romi was asked, "why are you making so many questionable sacrifices". Romi, "because I can". Romi only drew both games after coming very close to winning them. [Event "Match.at"] [Site "MASTER"] [Date "2020.03.29"] [Round "1"] [White "RomiChess"] [Black "Ya...
by Michael Sherwin
Sun Mar 29, 2020 10:28 pm
Forum: Computer Chess Club: General Topics
Topic: New RomiChess, soon
Replies: 24
Views: 1602

Re: New RomiChess, soon

Tal lives again! Freakin' bazooka, those are some attacking games. Does it do that with black as well? If it does and it has a strength adjustment, this could become my favorite engine to play against. I love engines that create sharp games and sometimes even make somewhat unsound, but interesting ...
by Michael Sherwin
Sun Mar 29, 2020 9:58 pm
Forum: Computer Chess Club: General Topics
Topic: New RomiChess, soon
Replies: 24
Views: 1602

Re: New RomiChess, soon

Tal lives again! Freakin' bazooka, those are some attacking games. Does it do that with black as well? If it does and it has a strength adjustment, this could become my favorite engine to play against. I love engines that create sharp games and sometimes even make somewhat unsound, but interesting ...