Search found 37 matches

by TommyTC
Thu Sep 24, 2020 8:08 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: I don't want to give up
Replies: 70
Views: 14482

Re: I don't want to give up

<message deleted>
by TommyTC
Thu Sep 24, 2020 7:07 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: I don't want to give up
Replies: 70
Views: 14482

Re: I don't want to give up

Hi Mike, Never give up! Never surrender! I think I have a solution, or at least a work-around to some of the problems previously encountered. Let's revisit the issues. GenMoves generates moves in a specific order by looking for pieces on squares from A1, B1, C1, and so on until H8. When each move is...
by TommyTC
Tue Sep 22, 2020 2:22 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: I don't want to give up
Replies: 70
Views: 14482

Re: I don't want to give up

Hi Mike, Do you prefer to find your own bugs in your code, or would you still like some help? I will assume you may still want some help, so here goes.... With sd (search depth) = 1, and typing "go" for each move, the following game is played: 1. Na3 a5 2. Rb1 a4 3. Ra1 b6 4. Rb1 c5 5. Ra1 d5 6. Rb1...
by TommyTC
Thu Sep 17, 2020 4:32 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: I don't want to give up
Replies: 70
Views: 14482

Re: I don't want to give up

In search:
if (mov->score > alpha) alpha = move->score;

Change to:
if (mov->score > alpha) alpha = mov->score;

Tommy
by TommyTC
Tue Sep 15, 2020 2:25 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: I don't want to give up
Replies: 70
Views: 14482

Re: I don't want to give up

Hi Mike, Another bug. After either side castles, some legal moves are disallowed, and some illegal moves are allowed. Analysis: In MakeMove, the 4 castling moves (WS, WL, BS, BL) fail to update king[WHITE] or king[BLACK] for both the "from" and "to" locations. Fix: For WS and WL insert the following...
by TommyTC
Thu Sep 10, 2020 8:06 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: I don't want to give up
Replies: 70
Views: 14482

Re: I don't want to give up

I think I have found a bug in your code. When the king is in check, your code allows queenside castling. You probably need to change the following: From: constexpr auto WATKL = 0x000000000000000c; constexpr auto BATKL = 0x0c00000000000000; To: constexpr auto WATKL = 0x000000000000001c; constexpr aut...
by TommyTC
Sat Sep 05, 2020 4:40 pm
Forum: Computer Chess Club: General Topics
Topic: The new NNUE-net (nn-308..) seems being weaker
Replies: 37
Views: 2807

Re: The new NNUE-net (nn-308..) seems being weaker

Corres,

You have incorrectly answered a rhetorical question. :shock:
by TommyTC
Sun Mar 15, 2020 9:05 pm
Forum: Computer Chess Club: General Topics
Topic: Engine programming
Replies: 32
Views: 3684

Re: Engine programming

There is a YouTube series for the chess program "Vice":

Programming A Chess Engine in C
by Bluefever Software
by TommyTC
Thu Feb 20, 2020 8:00 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: hash collisions
Replies: 370
Views: 54541

Re: hash collisions

Let's just make it quite clear, since you misinterpret everything. I am not.... I think I found a bug in one of chrisw's posts. How can he make something quite clear to someone who misinterprets everything? The only way you can do that is to make it not quite clear. But wait, he said he wanted to m...
by TommyTC
Tue Dec 11, 2018 12:37 am
Forum: Computer Chess Club: General Topics
Topic: A0 - SF, Game 3 of 110 after 15...Qd7, 18.01.2018
Replies: 0
Views: 930

A0 - SF, Game 3 of 110 after 15...Qd7, 18.01.2018

r2q1rk1/pb2bpp1/1p1p1n1p/2pP2N1/P6P/6P1/1PQBPPB1/R3K2R b KQ - 0 15 After 15.a4, SF played 15...Qd7? and is lost! A0 played 16.Bc3 and won a great positional game, but check out this variation: 16.0-0-0! Rfe8 17.Nxf7! Bf8 18.Ng5 Rxe2 19.Rhe1 Rxe1 20.Bh3!! Rxd1+ 21.Kxd1 Qxh3 22.Nxh3 Bxd5. I have not ...