Was it 1977 Twilight’s Last Gleaming ?
That’s the movie I’m thinking of, too. Just remember the trailer, which had that exchange (or very similar), but never saw the movie. I’ve seen Wargames several times and don’t recall that scene in it. But a few folks here are adamant that it is.