Search is getting bogged down question

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Mike Sherwin
Posts: 860
Joined: Fri Aug 21, 2020 1:25 am
Location: Planet Earth, Sol system
Full name: Michael J Sherwin

Search is getting bogged down question

Post by Mike Sherwin »

While searching the start position it finishes depth 10 in 0.49 seconds and settles on e4. Depth 11 then takes 13.28 seconds and switches to d4. Depth 12 then takes only 4.24 seconds and stays with d4. Is there someway to ameliorate the search from getting bogged down like that?

Enter Command(w): st 30
r n b q k b n r
p p p p p p p p
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
P P P P P P P P
R N B Q K B N R

Enter Command(w): go

Begin Depth 1
1 36 0 20 g1f3

Begin Depth 2
2 0 0 87 g1f3 g8f6

Begin Depth 3
3 35 0 701 g1f3 g8f6 d2d4

Begin Depth 4
4 0 0 4223 g1f3 g8f6 d2d4 d7d5

Begin Depth 5
5 33 0 8595 g1f3 g8f6 d2d4 d7d5 b1c3

Begin Depth 6
6 0 0 16167 g1f3 g8f6 d2d4 d7d5 b1c3 b8c6

Begin Depth 7
7 28 0 58978 g1f3 g8f6 d2d4 d7d5 b1c3 b8c6 c1e3

Begin Depth 8
8 0 2 196803 g1f3 g8f6 d2d4 d7d5 b1c3 b8c6 c1e3 c8e6

Begin Depth 9
9 29 30 3104615 e2e4 b8c6 g1f3 g8f6 b1c3 d7d5 e4d5 f6d5 d2d4

Begin Depth 10
10 9 49 5145796 e2e4 e7e5 g1f3 b8c6 b1c3 g8f6 d2d4 e5d4 f3d4 f8d6

Begin Depth 11
11 23 1377 144663316 d2d4 d7d5 g1f3 b8c6 b1c3 g8f6 c1f4 c8e6 e2e3 f6e4 f1d3

Begin Depth 12
12 2 1801 204634650 d2d4 d7d5 g1f3 g8f6 b1c3 c8f5 c1e3 b8c6 f3e5 f6e4 c3e4 c6e5

Begin Depth 13

Move Played: D2D4 Score: 2
r n b q k b n r
p p p p p p p p
. . . . . . . .
. . . . . . . .
. . . P . . . .
. . . . . . . .
P P P . P P P P
R N B Q K B N R

Enter Command(b):