Search found 1953 matches

by mar
Mon Nov 11, 2019 1:32 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Eschecs, a simple GUI written in Pascal
Replies: 32
Views: 5200

Re: Eschecs, a simple GUI written in Pascal

Done. I was afraid but in fact it was not so complicated. :) if (FUserMove = 'e1g1') and FGame.IsLegal('e1h1') and FGame.IsCastling('e1h1') then FUserMove := 'e1h1'; if (FUserMove = 'e1c1') and FGame.IsLegal('e1a1') and FGame.IsCastling('e1a1') then FUserMove := 'e1a1'; if (FUserMove = 'e8g8') and ...
by mar
Mon Nov 11, 2019 12:11 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Eschecs, a simple GUI written in Pascal
Replies: 32
Views: 5200

Re: Eschecs, a simple GUI written in Pascal

Very nice, thanks.
Would it be possible to also support castling (say in orthodox mode) by moving the king to the target position? KxR is fine, sure, but...
by mar
Thu Oct 31, 2019 8:35 am
Forum: Computer Chess Club: General Topics
Topic: Vote for Fritz 17 Replacement
Replies: 25
Views: 2631

Re: Vote for Fritz 17 Replacement

I think polls are broken since the forum transition.
by mar
Tue Oct 29, 2019 7:16 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Decreasing Depth in MultiPV?
Replies: 14
Views: 1004

Re: Decreasing Depth in MultiPV?

I do something entirely different in Cheng, very simple actually and it seems to work well (I bet others do the same as well, the "lazy" approach): - disable aspiration window if MultiPV > 1 - only do zw search to make sure it beats current worst MultiPV move as soon as I have searched first MultiPV...
by mar
Mon Oct 28, 2019 9:51 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Another take on DTS?
Replies: 20
Views: 1356

Re: Another take on DTS?

A singly-linked list seems like it can easily implement a stack. I'm pretty sure a singly-linked list can implement a queue (but it takes a bit of thought). A dequeue however... that is push-front, push-back, pop-front, and pop-back... seems to require a doubly-linked list. And the "XOR-pointer" tr...
by mar
Mon Oct 28, 2019 8:38 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Another take on DTS?
Replies: 20
Views: 1356

Re: Another take on DTS?

Reminds me of the doubly-linked list with only "one pointer" trick, by only storing (prev XOR next). Sorry for a bit of OT but how is that supposed to work? You'd need to know a pointer of either neighbor, so deleting an item from the list would still require O(N) traversal just like a singly linke...
by mar
Wed Oct 09, 2019 6:53 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Understanding first rank attack state generation
Replies: 15
Views: 2739

Re: Understanding first rank attack state generation

My guess is because masking by 2*63 already gives you a value that's already multiplied by two, masking out the LSBit
by mar
Tue Oct 08, 2019 12:03 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Eval hashtable replacement scheme
Replies: 4
Views: 1497

Re: Eval hashtable replacement scheme

Does your scheme really pay off in terms of speedup? I'd expect that eval cache helps mostly in qs nodes anyway so my guess is tweaking the size of the eval table should be sufficient. But of course, if the scripting language you use is, say 10-20 times slower than native code... Perhaps you could e...
by mar
Fri Sep 20, 2019 3:07 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: self test
Replies: 10
Views: 2507

Re: self test

I always did only self-testing, and typically got about one half of the expected gain in CCRL. I certainly worked for me and works for others (if you play enough games) I did something non-standard perhaps, namely always playing against the last released version (=any fixed stable previous version);...