Hi Edsel,Edsel Apostol wrote:Hi Marc,
It would be great if you could send me the logfile of Twisted after you run that position, or maybe post it here. I don't have a GUI here that supports that so I couldn't test.
I initialize the movelist by the moves received through the "go searchmoves" if the engine received that command so if it worked in the first 13 plies that means it should work in plies above that as the movelist is only initialized in the beginning and it should not change.
I will try to review my code, maybe I overlook something.
This time I asked Twisted to search for only Ba1 and Bf1 (same position). As you can see, Twisted overides the command and select dxe5 then Bh5+ and dxe5 back again:
Code: Select all
; 00:00:00.8 5. Score: -0,52 depth: 8 dxe5 Nxe4 Qf4+ Kg8 Nxe4 Rxd1+ Bxd1 Bxe4 Qxe4 Rd8
; 00:00:00.1 5. Score: -0,21 depth: 9 dxe5 Nxe4 Qf4+ Kg8 Nxe4 Rxd1+ Bxd1 Bxe4 Qxe4 Rd8 Bc2
; 00:00:00.5 5. Score: -0,20 depth: 10 dxe5 Nxe4 Qf4+ Kg8 Nxe4 Rxd1+ Bxd1 Bxe4 Qxe4 Rd8 Qg4+ Kh8 g3
; 00:00:00.5 5. Score: -0,20 depth: 11 dxe5 Nxe4 Qf4+ Kg8 Nxe4 Rxd1+ Bxd1 Bxe4 Qxe4 Rd8 Qg4+ Kh8 Be2 Rd2
; 00:00:01.1 5. Score: -0,24 depth: 12 dxe5 Nxe4 Qf4+ Kg8 Nxe4 Rxd1+ Bxd1 Bxe4 Qxe4 Rd8 Qg4+ Kh8 Bf3 Rd2 Qxb4
; 00:00:03.5 5. Score: -0,19 depth: 12 Bh5+ Nxh5 Qxh5+ Kg8 Qxe5 Bd5 exd5 exd5 Re1 Qg7 Qe6+ Qf7 Qb6 Nc4 Nxc4 dxc4 Qxb4
; 00:00:05.0 5. Score: -0,34 depth: 13 Bh5+ Nxh5 Qxh5+ Kg8 Qxe5 Bd5 exd5 exd5 h4 Rac8 Rc1 Rxc1+ Bxc1 Qg7 Qe6+ Qf7 Qxa6 Nc4 Nxc4 dxc4
; 00:00:06.2 5. Score: -0,10 depth: 13 dxe5 Nxe4 Qf4+ Kg8 Nxe4 Rxd1+ Bxd1 Bxe4 Qxe4 Rd8 Be2 Rd2 Bc1 Rd4 Qf3
; 00:00:08.9 5. Score: -0,18 depth: 14 dxe5 Nxe4 Qf4+ Kg8 Nxe4 Rxd1+ Bxd1 Bxe4 Qxe4 Rd8 Be2 Rd2 Qg4+ Kh8 Bc1 Rc2 Bh6
; 00:00:21.9 5. Score: 0,12 depth: 15 dxe5 Nxe4 Bh5+ Kf8 Qh6+ Kg8 Qxe6+ Kh8 Qf5 Qxf2+ Qxf2 Nxf2 Kxf2 Nc6 e6+ Kg8 Ne4 Rxd1 Bxd1 Rd8 Be2
; 00:00:29.2 5. Score: 0,01 depth: 16 dxe5 Nxe4 Bh5+ Kf8 Qh6+ Kg8 Qxe6+ Kh8 Qf5 Qxf2+ Qxf2 Nxf2 Kxf2 Nc6 e6+ Kg8 Bf3 Rd6 Ne4 Rxd1 Nf6+ Kg7 Bxd1
; 00:00:50.5 5. Score: 0,00 depth: 17 dxe5 Nxe4 Bh5+ Kf8 Nxe4 Rxd1+ Bxd1 Bxe4 Qf4+ Kg8 Qxe4 Rf8 Bd4 Qd7 Be2 Nb3 Qg4+ Kh8 Be3 a5 g3
; 00:01:31.8 5. Score: -0,14 depth: 18 dxe5 Nxe4 Bh5+ Kf8 Nxe4 Rxd1+ Bxd1 Bxe4 Qf4+ Kg8 Qxe4 Rf8 Bf3 Qc5 Qg4+ Kh8 h3 Nc4 Bd4 Qe7 Be4 b3
; 00:03:00.2 5. Score: -0,14 depth: 18 dxe5 Nxe4 Bh5+ Kf8 Nxe4 Rxd1+ Bxd1 Bxe4 Qf4+ Kg8 Qxe4 Rf8 Bf3 Qc5 Qg4+ Kh8 h3 Nc4 Bd4 Qe7 Be4 b3
; Analysis completedAs you can see Twisted continues to ponder at the end of the 3min. I killed it from the task manager.Twisted Logic 20080620 by Edsel Apostol, Philippines
Use Universal Chess Interface commands
Beta Testers: John van Spijker, Audy Arandela, Tobias Lagemann, Michael Donnig
info string Hash is set to value 32
info string Pawn Hash is set to value 16
info string Ponder is set to value false
info string Transposition Table is set to value true
info string Null Move Pruning is set to value true
info string Null Move Verification is set to value true
info string Null Move Fail High is set to value true
info string Internal Iterative Deepening is set to value true
info string Delta Pruning is set to value true
info string Delta Pruning Solid is set to value false
info string Quiescence Check Depth is set to value 5
info string Zero Pruning is set to value true
info string Zero Pruning Base is set to value 3
info string Zero Pruning Threshold is set to value 120
info string Speculation is set to value true
info string Speculation Base is set to value 3
info string Speculation Level is set to value 5
info string Extended Speculation is set to value true
info string Extended Speculation Base is set to value 5
info string Extended Speculation Level is set to value 5
info string King Attacks Aggression Level is set to value 12
uci
id name Twisted Logic 20080620
id author Edsel Apostol, Philippines
option name Hash type spin default 32 min 1 max 4096
option name Pawn Hash type spin default 16 min 1 max 32
option name Ponder type check default false
option name Transposition Table type check default true
option name Null Move Pruning type check default true
option name Null Move Verification type check default true
option name Null Move Fail High type check default true
option name Internal Iterative Deepening type check default true
option name Delta Pruning type check default true
option name Delta Pruning Solid type check default false
option name Quiescence Check Depth type spin default 5 min 1 max 10
option name Zero Pruning type check default true
option name Zero Pruning Base type spin default 3 min 1 max 10
option name Zero Pruning Threshold type spin default 120 min 0 max 500
option name Speculation type check default true
option name Speculation Base type spin default 3 min 1 max 10
option name Speculation Level type spin default 5 min 1 max 15
option name Extended Speculation type check default true
option name Extended Speculation Base type spin default 5 min 1 max 10
option name Extended Speculation Level type spin default 5 min 1 max 15
option name King Attacks Aggression Level type spin default 12 min 0 max 25
uciok
setoption name Hash value 512
info string Hash is set to value 512
setoption name Pawn Hash value 20
info string Pawn Hash is set to value 20
setoption name Transposition Table value true
info string Transposition Table is set to value true
setoption name Null Move Pruning value true
info string Null Move Pruning is set to value true
setoption name Null Move Verification value true
info string Null Move Verification is set to value true
setoption name Null Move Fail High value true
info string Null Move Fail High is set to value true
setoption name Internal Iterative Deepening value true
info string Internal Iterative Deepening is set to value true
setoption name Delta Pruning value true
info string Delta Pruning is set to value true
setoption name Delta Pruning Solid value false
info string Delta Pruning Solid is set to value false
setoption name Quiescence Check Depth value 5
info string Quiescence Check Depth is set to value 5
setoption name Zero Pruning value true
info string Zero Pruning is set to value true
setoption name Zero Pruning Base value 3
info string Zero Pruning Base is set to value 3
setoption name Zero Pruning Threshold value 120
info string Zero Pruning Threshold is set to value 120
setoption name Speculation value true
info string Speculation is set to value true
setoption name Speculation Base value 3
info string Speculation Base is set to value 3
setoption name Speculation Level value 5
info string Speculation Level is set to value 5
setoption name Extended Speculation value true
info string Extended Speculation is set to value true
setoption name Extended Speculation Base value 5
info string Extended Speculation Base is set to value 5
setoption name Extended Speculation Level value 5
info string Extended Speculation Level is set to value 5
setoption name King Attacks Aggression Level value 12
info string King Attacks Aggression Level is set to value 12
isready
readyok
isready
readyok
ucinewgame
setoption name Ponder value true
info string Ponder is set to value true
setoption name MultiPV value 1
isready
readyok
ucinewgame
isready
readyok
position fen r2r2k1/qbp1bppp/p3pn2/n3N3/Pp1PP3/4Q3/1B1NBPPP/2RR2K1 w - - 0 1
isready
readyok
position fen r2r2k1/qbp1bppp/p3pn2/n3N3/Pp1PP3/4Q3/1B1NBPPP/2RR2K1 w - - 0 1 moves c1c7 e7d6 c7f7 d6e5 f7g7 g8g7 e3g5 g7f7
go movetime 180000 searchmoves e2f1 b2a1
info string Fixed time per move: 180000 ms
info string Search status is THINKING
info string Aborting search
bestmove d4e5 ponder f6e4
isready
readyok
position fen r2r2k1/qbp1bppp/p3pn2/n3N3/Pp1PP3/4Q3/1B1NBPPP/2RR2K1 w - - 0 1 moves c1c7 e7d6 c7f7 d6e5 f7g7 g8g7 e3g5 g7f7 f6e4
info string Illegal move: f6e4
go ponder
info string Search status is PONDERING
EDIT: Lokasoft has a 30-day trial for ChessPartner 5.4 if you are interested: http://www.lokasoft.com/chesspartner.htm
