From Wikipedia
688 Attack Sub is a submarine simulator game designed by John W. Ratcliff & Paul Grace, published in 1988 for MS-DOS systems and 1990 for Amiga computers by Electronic Arts. A Sega Mega Drive version was also published.
The player takes command of a US Los Angeles-class or Soviet Alfa class nuclear powered attack submarine and plays 10 missions organized into a Cold War scenario.
688 Attack Sub is known as an early classic of the genre.
John W. Ratcliff followed it up by SSN-21 Seawolf later.
This was one of the earliest games that allowed two players to play against each other over a modem (or null modem cable).