improved AI::analyze_board
minimax depth depends on number of empty squares on board