The Kobayashi Maru is a Starfleet Academy simulation in the Star Trek universe—a deliberately unwinnable scenario designed to test a cadet's character under impossible circumstances.
A cadet commands a starship encountering the civilian freighter Kobayashi Maru disabled in the Klingon Neutral Zone. Rescuing it violates the treaty; abandoning it violates humanitarian duty. Klingon vessels attack regardless of the choice.
The test evaluates:
In Star Trek II: The Wrath of Khan, James T. Kirk becomes the only cadet to "beat" the test—by secretly reprogramming the simulation. While technically cheating, it demonstrated his refusal to accept no-win scenarios, a defining trait.
The Kobayashi Maru has become a metaphor for any no-win situation requiring character over victory—in business, ethics, and personal crises.