Search found 94 matches

by pkumar
Wed Feb 01, 2017 11:38 am
Forum: Computer Chess Club: General Topics
Topic: How to use Arena book?
Replies: 3
Views: 1153

How to use Arena book?

I test my winboard chess engine Nameless with gauntlet matches in Arena GUI using some epd starting positions. As I was looking for a way to use GUI books I searched the Arena website. In playwitharena>Home > Tips + Tricks > Engine Tournaments I found the following in the last paragraph of Engines c...
by pkumar
Tue Nov 15, 2016 12:08 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Help improving this code ?!
Replies: 31
Views: 6918

Re: Help improving this code ?!

Fulvio wrote:The order of the member variables is also important:
http://en.cppreference.com/w/cpp/langua ... #Alignment
Thanks for the link. I normally check a class/structure for expected size. May have missed some in a hurry to get a working program first. A lot of work remains.
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: 6918

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: 6918

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: 8146

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: 6284

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: 6284

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: 6284

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: 2452

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: 1776

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