Search found 235 matches

by tttony
Wed May 03, 2017 12:37 am
Forum: Computer Chess Club: General Topics
Topic: Jumbo 0.4.34
Replies: 12
Views: 2635

Re: Jumbo 0.4.34

Cool Sven!!

Why you dont make a standalone exe?
With no dependencies?
by tttony
Fri Apr 28, 2017 1:20 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Molecule - new engine
Replies: 10
Views: 2308

Re: Molecule - new engine

Hey guys, during the last 2.5 months I've been working on a chess engine. The result of my work is Molecule (https://github.com/fkdosilovic/molecule) . Any feedback is welcome, but I'm most interested in somewhat of a legal advice. As you'll probably read in README file, whenever I would get stuck,...
by tttony
Fri Apr 28, 2017 12:37 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Added repetition detection but in some games repeats
Replies: 8
Views: 1610

Re: Added repetition detection but in some games repeats

Tony, when making the null move you could simply do this: - store all position state information as usual for a later undo, - switch the side to move (and increment your ply counter if you have one), - store the resulting hash key in your key history, - and reset the fifty moves counter to 0 since ...
by tttony
Thu Apr 27, 2017 1:12 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Added repetition detection but in some games repeats
Replies: 8
Views: 1610

Re: Added repetition detection but in some games repeats

Can't edit, I saw in your engine that you actually check if the position has repeated two times: int nRepetition = 0; const end = max(0, ply - stack[ply].fifty); for (int i = ply - 4; i >= end; i -= 2) { if (stack[i].key.code == stack[ply].key.code && ++nRepetition >= 2)...
by tttony
Thu Apr 27, 2017 12:36 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Added repetition detection but in some games repeats
Replies: 8
Views: 1610

Re: Added repetition detection but in some games repeats

I don't see any modifications to move_history in your MakeNullMove and UnmakeNullMove functions. Which means that your Move history could look something like this White Move, Black Move, (NULL, but not actually in the array), Black Move Then, when you jump around by 2's to check repetition, you don...
by tttony
Wed Apr 26, 2017 8:55 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Added repetition detection but in some games repeats
Replies: 8
Views: 1610

Re: Added repetition detection but in some games repeats

Is there ever a case when the keys do not switch back and forth from white move to black move? If you are using NULL move pruning what do you do with your board_history? Forgot to add that also added null move, in the MakeNullMove() I set to zero the history move, here's how I execute null move in ...
by tttony
Wed Apr 26, 2017 1:04 am
Forum: Computer Chess Club: General Topics
Topic: ___Rick48___
Replies: 13
Views: 3980

Re: ___Rick48___

According to this: https://www.chess.com/es/forum/view/gen ... ake-engine

It's a fake site
by tttony
Tue Apr 25, 2017 11:24 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Added repetition detection but in some games repeats
Replies: 8
Views: 1610

Added repetition detection but in some games repeats

I recently added repetition detection and it works partially fine, now it's winning more games than before but in some games ends in repetition even with a win position, like this one: [pgn] [Event "Skiull_0.1_vs_Skiull_0.2_1m1s_REP"] [Site "HIGH-PC"] [Date "2017.04.25"] [Round "981"] [White "Skiull...
by tttony
Tue Apr 25, 2017 7:06 pm
Forum: Computer Chess Club: General Topics
Topic: Schooner Version 1.7
Replies: 12
Views: 2546

Re: Schooner Version 1.7

Cool!

But the files has no extension, I had to add .exe to the file

It's working for now!!!
by tttony
Thu Apr 20, 2017 8:30 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Problems with TT, sometimes makes blunder moves
Replies: 72
Views: 10838

Re: Problems with TT, sometimes makes blunder moves

So you might consider to change your algorithm to determine the hash table size in a way that also works for an entry size of, say, 24 bytes. Here is an example code including test code: #include <cstdio> #include <cstdint> #include <cassert> uint64_t get_ttsize_from_size_MB(int size_MB, int en...