Trinity is an interactive fiction computer game written by Brian Moriarty and published in 1986 by Infocom. It is widely regarded as one of the company's best works. Trinity was included as one of the titles in the 2010 book 1001 Video Games You Must Play Before You Die.
The plot blends historical and fantastic elements as part of a prose poem regarding the destructive power of the atomic bomb and the futile nature of war in the atomic age. The name refers to the Trinity test, the first nuclear explosion, which took place in July 1945. It is Infocom's twentieth game and the last game released by the company when it was solvent.