Search found 92 matches

by pkumar
Tue Nov 15, 2016 9:25 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Help improving this code ?!
Replies: 31
Views: 5875

Re: Help improving this code ?!

You shouldn't see any drop in speed whatsoever. If you are new to C++, you might have accidentally used some expensive feature that you shouldn't be using, like dynamic memory allocation, unnecessary copies, unnecessary construction/destruction of objects that could have longer lifespans, function ...
by pkumar
Tue Nov 15, 2016 6:11 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Help improving this code ?!
Replies: 31
Views: 5875

Re: Help improving this code ?!

Personal opinion: If you want to live a happy life, don't use virtual inheritance, multiple inheritance or non-public inheritance. Use simple, non-virtual, public inheritance, and only to get polymorphic behavior, and only when inheritance expresses an "IS-A" relationship. I am happy to see this to...
by pkumar
Mon Oct 03, 2016 2:12 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: No Zobrist key
Replies: 58
Views: 7318

Re: No Zobrist key

Another "mystic" code that works: class Zobrist { public: uint64 hash_pc[2][MAX_PIECETYPES][64], hash_castle[16], hash_ep[8]; Zobrist(); private: uint32 w; uint32 z; uint32 rand32(); uint64 rand64(); void initKeys(); }; // Zobrist has a simple random number generator based ...
by pkumar
Mon Sep 19, 2016 6:45 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: On-line engine blitz tourney September
Replies: 36
Views: 5562

Re: On-line engine blitz tourney September

Thanks for the reply. I shall get Winboard-4.9.1 .
by pkumar
Mon Sep 19, 2016 5:58 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: On-line engine blitz tourney September
Replies: 36
Views: 5562

Re: On-line engine blitz tourney September

... and you need a (computer-)account to log in with on the server. Ah yes, forgot to mention that. Although in principle, when you would be there logged in as a guest under a sensible name I could upgrade the account on the fly. (It would just cause an annoying delay in the start of the tourney if...
by pkumar
Mon Sep 19, 2016 4:34 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: On-line engine blitz tourney September
Replies: 36
Views: 5562

Re: On-line engine blitz tourney September

Is there a link to tournament rules and method of participation?
by pkumar
Thu Sep 08, 2016 3:08 pm
Forum: Computer Chess Club: General Topics
Topic: Release of Ethereal7.78
Replies: 14
Views: 2021

Re: Release of Ethereal7.78

I downloaded the Win32 executable and tried. Seems good. Is it possible to give estimated nps in middle and end game with mention of the CPU type? Arena 3.0 does not show nps for this engine.
by pkumar
Sun Sep 04, 2016 5:16 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Two perft(7) mismatches from work unit 571
Replies: 2
Views: 1269

Re: Two perft(7) mismatches from work unit 571

My results:

Code: Select all

nameless> perft 7

(CR to end input) epdfile=perftSE25.epd

rnbqkb1r/1pppppp1/p4n1p/1B6/4P3/4Q3/PPPP1PPP/RNB1K1NR b KQkq - 3 4 30 18436658361
perft D7: 18436658361

rnbqkb1r/1pppppp1/p4n1p/1B6/4PP2/5Q2/PPPP2PP/RNB1K1NR b KQkq - 2 4 30 15669029401
perft D7: 15669029401
by pkumar
Sat Sep 03, 2016 6:08 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: One perft(7) mismatch for work unit 566
Replies: 4
Views: 1417

Re: One perft(7) mismatch for work unit 566

Same result:
nameless> perft 7

(CR to end input) epdfile=perftSE24.epd

rnbqkbnr/pp2pp1p/3p4/2p3BQ/3PP3/8/PPP2PPP/RN2KBNR b KQkq - 0 4 28 53830194113
perft D7: 53830194113
by pkumar
Thu Sep 01, 2016 9:20 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: One perft(7) mismatch for work unit 568
Replies: 4
Views: 1589

Re: One perft(7) mismatch for work unit 568

My result:

Code: Select all

nameless> perft 7

(CR to end input) epdfile=perftSE23.epd

r1bqkbnr/ppppp2p/2n5/5pp1/1P6/B7/P1PPPPPP/RNQ1KBNR b KQkq - 0 4 30 4466138745
perft D7: 4466138745