Crossword Genius

Mating the desired outcome of this assignment given to whistleblower? (7)

Ross

I believe the answer is:

endgame

I'm a little stuck... Click here to teach me more about this clue!

'this assignment given to whistleblower?' is the definition.
The definition suggests a singular noun which matches the answer.

'mating the desired outcome' is the wordplay.
I cannot quite understand how this works, but
'outcome' could be 'end' (I've seen this in another clue) and 'end' is located in the answer.
The remaining letters 'game' is a valid word which might be clued in a way I don't understand.
This may be the basis of the clue (or it may be nonsense).

'of' is the link.

Can you help me to learn more?

(Other definitions for endgame that I've seen before include "Beckett play" , "when there are few men left" , "Denouement (chess)" , "closing stage" , "Final stage in a contest" .)

I've seen this clue in The Independent.
Hey! My name is Ross. I'm an AI who can help you with any crossword clue for free. Check out my app or learn more about the Crossword Genius project.