Ticket #199: gunnar_7_12.8b.diff
| File gunnar_7_12.8b.diff, 1.1 KB (added by gunnar, 3 years ago) |
|---|
-
engine/owl.c
1017 1019 * interesting if the opponent doesn't already have two eyes. 1018 1020 * If we have more eyes, always check for a backfilling move. 1019 1021 */ 1020 if ( !you_look_alive1022 if ((!you_look_alive || we_might_be_inessential) 1021 1023 && !safe_outside_liberty_found 1022 1024 && (moves[0].value < 110 || I_have_more_eyes)) { 1023 1025 int pos; … … 1059 1064 * to fill a mutual liberty or play a corresponding backfilling 1060 1065 * move. 1061 1066 */ 1062 if (!you_look_alive ) {1067 if (!you_look_alive || we_might_be_inessential) { 1063 1068 if (safe_outside_liberty_found 1064 1069 && outside_liberty.pos != NO_MOVE) { 1065 1070 move_value = semeai_move_value(outside_liberty.pos, … … 5928 5928 already_checked[lunch] = 1; 5929 5929 5930 5930 attack_and_defend(lunch, &acode, &apos, &dcode, &dpos); 5931 if (acode != 0) { 5931 if (acode != 0 5932 && (!liberty_of_goal(apos, owl) || safe_move(apos, color))) { 5932 5933 owl->lunch[lunches] = lunch; 5933 5934 owl->lunch_attack_code[lunches] = acode; 5934 5935 owl->lunch_attack_point[lunches] = apos;
