Posts: 13
Threads: 0
Likes Received:
16 in 11 posts
Likes Given: 10
Joined: Nov 2023
Reputation:
5
06-04-2024, 05:42 PM
(This post was last modified: 06-05-2024, 09:45 AM by WhTurner.)
For your information, the following programs from the old published programs contain the word chess.
The number after the publication number is the number of lines in the program.
CXV562 547
DBG614 109
DBX768 1169
FXQ239 2 (1470 lines as text)
GMT047-1 872
GQC905 1223
HBD489 2747
HQQ405 289
HQQ405-0 307
HQQ405-2 403
HQQ405-3 426
JWC757 1203
KBG448 1329
KNR573 1370
MQR842 523
MRH408 1472
NBH742 1156
QXQ421 1157
SFW403 1177
SJQ481 1162
SJQ481-3 1162
SQC882 1214
TKM405 1179
TLL449 149
TNS425 1471
VGR040 1175
VVS441 29
EDIT : two number of lines edited
Posts: 451
Threads: 34
Likes Received:
359 in 246 posts
Likes Given: 178
Joined: Aug 2023
Reputation:
17
Mmm,
Pawn moving backwards!
I guess the hardest bit is getting it to reproduce if you can't see in the code why it happens.
I think I also didn't implement castling.
Posts: 63
Threads: 9
Likes Received:
41 in 28 posts
Likes Given: 26
Joined: Sep 2023
Reputation:
9
@litdev
The 15 moves shown in Cute Chess are reproducible, as SB_Scout has always played the same moves.
I'm still considering whether to approach the problem with the debugger or text window output.
Scout
Posts: 316
Threads: 36
Likes Received:
108 in 85 posts
Likes Given: 214
Joined: Dec 2023
Reputation:
7
I was learning pipes and memory maped file just like server client we currently use in SB for transmitting data.
But they are faster than server client but work on local.
I guess I could Implement it in extension for pipes.
ZS
Posts: 451
Threads: 34
Likes Received:
359 in 246 posts
Likes Given: 178
Joined: Aug 2023
Reputation:
17
@Scout
Naively, it looks like black is moving as if it were white.
I would start with some basic debug output to a file to be really sure which bit of code is the culprit. You can waste a lot of time chasing rabbits down the wrong holes.
Only move to debugging when you have some sort of idea what could be the issue