implement finding lines that can still be won by AI