RCS file: /sources/gnugo/gnugo/engine/owl.c,v
retrieving revision 1.252
diff -u -r1.252 owl.c
|
|
|
|
| 893 | 893 | shape_defensive_moves, 1, owla)) |
| 894 | 894 | break; |
| 895 | 895 | } |
| 896 | | owl_shapes(&shape_offensive_patterns, shape_offensive_moves, color, owlb, |
| 897 | | &owl_attackpat_db); |
| 898 | | for (k = 0; k < MAX_MOVES-1; k++) |
| 899 | | if (!get_next_move_from_list(&shape_offensive_patterns, color, |
| 900 | | shape_offensive_moves, 1, owla)) |
| 901 | | break; |
| 902 | | |
| | 896 | if (!you_look_alive) { |
| | 897 | owl_shapes(&shape_offensive_patterns, shape_offensive_moves, color, |
| | 898 | owlb, &owl_attackpat_db); |
| | 899 | for (k = 0; k < MAX_MOVES-1; k++) |
| | 900 | if (!get_next_move_from_list(&shape_offensive_patterns, color, |
| | 901 | shape_offensive_moves, 1, owlb)) |
| | 902 | break; |
| | 903 | } |
| | 904 | |
| 903 | 905 | /* Now we review the moves already considered, while collecting |
| 904 | 906 | * them into a single list. |
| 905 | 907 | */ |