If the Klingons beat you, you'd get this disheartening message, which I remember to this day: "The Enterprise has been destroyed. The Federation will be conquered. You are dead."
I also remember playing a car racing game on the same machine, and also a game about landing a spaceship on the moon (which, a few years later, I created a real-time version of on a 6800 microprocessor in machine language). But the Star Trek game was definitely the best one.