In 1983, Borland introduced Turbo Pascal. It cost less that $50, compiled .COM executables that were incredibly fast compared to the interpreted BASIC programs, it had an intuitive, ahead-of-its-time integrated development environment (IDE), and it remained a standard for more than a decade.
The first instance came with just one sample program, MicroCalc, a simple spreadsheet. But soon Borland realized that people like to create games, and that games are a good way to learn programming, and so they added Turbo-Gomoku as a sample to Turbo Pascal 3.0 in 1985. Turbo-Gomoku proved to be a good game in its own right, and it has floated around the Internet since, often stripped of its source. Here you can download it complete, including the Turbo Pascal 4.0 source from 1987.