168 |
|| DRAGON2(bpos).safety == INESSENTIAL) |
|| DRAGON2(bpos).safety == INESSENTIAL) |
169 |
continue; |
continue; |
170 |
|
|
171 |
|
/* A dragon consisting of a single worm which is tactically dead or |
172 |
|
* critical and having just one neighbor should be ignored. |
173 |
|
*/ |
174 |
|
if (dragon[apos].size == worm[apos].size |
175 |
|
&& worm[apos].attack_codes[0] == WIN |
176 |
|
&& DRAGON2(apos).hostile_neighbors == 1) |
177 |
|
continue; |
178 |
|
if (dragon[bpos].size == worm[bpos].size |
179 |
|
&& worm[bpos].attack_codes[0] == WIN |
180 |
|
&& DRAGON2(bpos).hostile_neighbors == 1) |
181 |
|
continue; |
182 |
|
|
183 |
|
/* If one dragon consist of a single stone, don't treat it |
184 |
|
* as a semeai. (But see nicklas1:1405 for an example where |
185 |
|
* this rule is bad. |
186 |
|
*/ |
187 |
|
|
188 |
|
if (dragon[apos].size == 1 || dragon[bpos].size == 1) |
189 |
|
continue; |
190 |
|
|
191 |
semeai_found = 1; |
semeai_found = 1; |
192 |
a_best_status = UNKNOWN; |
a_best_status = UNKNOWN; |
193 |
b_best_status = UNKNOWN; |
b_best_status = UNKNOWN; |