IDIOMS

the game is up

Example: He knew the game was up when the Fed-Ex van arrived.