■ | ~ | ||||||
■*■ | v | ||||||
0:aei
^
w | |||||||
-B | |||||||
squeeze
V | |||||||
. 224. , , 22.5, , . keeproom ( , ) squeeze ( ). , , jmo.ii . squeeze
II. Prolog
22.5. ALO " ".
I " " ""
I Advice Language
edge rale:: if their king edge and kings close
" ,he" [, ■'11'keeproom'
else_rule:: if true ~ ~ _ _
then [ squeeze, approach, keeproom, divide in 2, divide in 3 ].
% ~ ~ ~ ~
advice (mate_in_2,
|
|
mate:
not rooklost and their king edge:
(depth - 0) and legal Then Idepth - 2) and checkroove:
(depth - 1 and legal).
ade[=smaller and no. rookexposed and ■
rookdivides and not stalemate:
not Eooklost:
(depth 0) and rookmove:
advice) approach,
okapproachedcsquare and not rookexposed and not stalemate and (rookdivides or lpattl and [roomgtf or not our king edge) not rooklost: (depth - 0) and kir.gdiagfirst:
advice [Tearoom,
themtomove and not rookexposed and rookdivides and okorndle and
■irSi o ',!10' **> ;
(depth - 0) and kingdiagfirst:
advice(XideVn 2,
themtomove and rookdivides and not rookexposed: not rooklost:
& i 2) /efal).
advice (cfi vide in 3,
theratorhove" and roofcdivides and not rookexposed: not rooklost: (depth < 5J and legal: depth < 4) and legal).
, , . 22.2.
22.2. ,