Inventing new rules in a game, specifically to prevent you from winning when you're about to win.
He pulled a brodigans again!