Ticket #199: gunnar_9_1.20.diff

File gunnar_9_1.20.diff, 463 bytes (added by gunnar, 22 months ago)

Play common liberties in semeai even if tactically unsafe in certain situations.

  • engine/owl.c

    diff --git a/engine/owl.c b/engine/owl.c
    index 5a20fdd..fdab924 100644
    a b do_owl_analyze_semeai(int apos, int bpos, 
    10561056          } 
    10571057          else { 
    10581058            /* common liberty */ 
    1059             if (safe_move(pos, color) == WIN) { 
     1059            if (safe_move(pos, color) == WIN 
     1060                || (!we_might_be_inessential 
     1061                    && accuratelib(pos, color, 3, NULL) >= 3)) { 
    10601062              safe_common_liberty_found = 1; 
    10611063              common_liberty.pos = pos; 
    10621064            }