Search found 580 matches

by maksimKorzh
Mon Jan 11, 2021 3:15 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Delimiter development diary
Replies: 56
Views: 6315

Re: Delimiter development diary

Even so I wouldn't call the integrating stage the most interesting of all. For me the most interesting stage would be after release, when the engine is working (and not much worse than Lime) and I can confidently maintain the code and add new features. During the integrating stage I would have much...
by maksimKorzh
Mon Jan 11, 2021 2:29 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Weaker play with TT
Replies: 31
Views: 3211

Re: Weaker play with TT

I suppose you use separate 32-bit keys for the signature and the index, since JavaScript doesn't have a 64-bit type. For the signature you don't care what the sign is, it is only used for a comparison of numbers. You want the index to be within the range of the TT, though, which also means non-nega...
by maksimKorzh
Mon Jan 11, 2021 2:17 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Weaker play with TT
Replies: 31
Views: 3211

Re: Weaker play with TT

I see. have you tried to mask it to 32 bits (or 31) first, like hashKey &= 0xffffffff? then use %? still - if you round number of entries to nearest power of two and then mask with num_entries-1, it should work as is index = (hashkey & 0x7FFFFFFF) % hashEntries worked for me. I didn't do hashKey &=...
by maksimKorzh
Mon Jan 11, 2021 10:34 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Weaker play with TT
Replies: 31
Views: 3211

Re: Weaker play with TT

I don't understand your masking around hashEntries: var hashEntry = hashTable[hashKey & (hashEntries - 4)]; why -4, plus hashEntries seems nowehere close to a power of two (default is some weird value like 16M/80, so I'm puzzled if hashEntries was 2**n, then masking with (hashEntries-1) I would und...
by maksimKorzh
Mon Jan 11, 2021 2:30 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Weaker play with TT
Replies: 31
Views: 3211

Weaker play with TT

Hi guys, I'm facing a very strange issue: My engine wit TT plays much worse instead of no TT version. My TT is 32bit (jsvascript) it gives a couple of plies deeper search and doesn't make some weird blunders - just seems to be playing well, but the results are so weird. I'm using the simplest TT imp...
by maksimKorzh
Sun Jan 10, 2021 10:27 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Delimiter development diary
Replies: 56
Views: 6315

Re: Delimiter development diary

I don't think so. Debugging is always a pain. Unless you're one of those rare people who prefer hunting for bugs to adding new features. New features on top of buggy code leads to collapsing and dropping the project. In chess programming it's incredibly important to debug every single building bloc...
by maksimKorzh
Sun Jan 10, 2021 10:22 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Non-quiet position after quiescence...
Replies: 13
Views: 1230

Re: Non-quiet position after quiescence...

Thanks for your replies. I'll look into the extension. maksimKorzh, the FEN are: r2qkbnr/1b2p2p/n1p2pp1/pp1p4/8/BPNBPN2/P1PP1PPP/R2QK2R w KQkq - 0 10 5knr/1b2p2p/r1pq1pp1/p2p4/1p6/BPN1P3/P1PP1PPP/R2QK2R w KQ - 0 14 Seems like something is wrong with quiescence. Neither of positions you've provided ...
by maksimKorzh
Sun Jan 10, 2021 10:14 pm
Forum: Computer Chess Club: General Topics
Topic: New engine release - Wukong JS
Replies: 48
Views: 4241

Re: New engine release - Wukong JS

Hi guys, I have a few important updates on Wukong JS development progress to share. For some reason I forgot to annouce version 1.3 release, probably because it was mostly about fixing bugs) So Wukong JS 1.4 is about to be released pretty soon - I'm running some final tests now. Now version 1.4a is ...
by maksimKorzh
Sun Jan 10, 2021 5:15 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Delimiter development diary
Replies: 56
Views: 6315

Re: Delimiter development diary

shinkarom wrote:
Sun Jan 10, 2021 9:56 am
Converted setboard.cpp.
Only 11 files to go. After that it's a life-long stage of debugging and integrating all of that into a working chess engine.

https://github.com/shinkarom/delimiterc ... ec5790399e
And the most interesting, isn't it)?
by maksimKorzh
Sun Jan 10, 2021 5:12 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Non-quiet position after quiescence...
Replies: 13
Views: 1230

Re: Non-quiet position after quiescence...

Hello, I'm investigating a bullet game played (and lost) by my engine this morning, in which it played a rather stupid move. In this position: r2qkbnr/1b2p2p/n1p2pp1/pp1p4/8/BPNBPN2/P1PP1PPP/R2QK2R w KQkq - 0 10 As white, it played Nd4, ignoring the threat of the pawn in b5. Traces show that at som...