It is the late 1990s, sixth period. You are sitting in the back of the classroom, barely listening to a droning Algebra II lesson, as you fiddle with your school-issued TI-82 graphing calculator. The only math you are actually learning is that cocaine costs more than acid, and heroin can be quite profitable in Coney Island.
Before everyone had cell phones, millions of teens across the country discovered Drug Wars, a simple game about buying and selling drugs across New York City’s boroughs while evading Officer Hardass (yes, that’s his name) and his deputies, muggers, or anyone else who tried to keep you from supplying chemical contraband to hungry customers. You have 30 days to buy low and sell high to make as much cash as possible, or at least enough to pay off the loan shark.
Next year Drug Wars will be 40 years old. In that time it has evolved from a DOS game to a calculator game, a web browser game, and—more recently—a smartphone app, sometimes known as Dope Wars instead.
“The number of ports of the game still amazes me,” says John E. Dell, the game’s original author, in an interview with WIRED.
Dell wrote the very first version of Drug Wars on a TRS-80 for his sophomore computer class. He said that he had recently played a game at his friend’s house that involved buying and selling goods at fluctuating prices. Dell said he could not remember which game, but that it could have likely been Taipan. He decided to adapt that style of game to one where the products included ludes, speed, weed, acid, heroin, and cocaine.
Dell’s teacher begrudgingly gave him an A on the assignment.
“I can distinctly remember that he put a frowny face on the paper,” said Dell. “He didn’t like the subject matter.”
Dell would later rewrite the game in DOS and upload it to a bulletin board system (BBS), which was how computer users in the 1980s communicated, shared files, or played games online.
After high school, Dell forgot about the game and enrolled in the US Naval Academy, studying computer science as he began a military career.
Drug Wars continued to evolve as it was reprogrammed into an actual BBS game. It was also adapted to early Windows editions, but this was in the late 1980s and early 1990s, when computers were often reserved for the wealthy and/or nerdy.
Drug Wars truly went viral (at a time before that word was used to describe anything but pathogens) when it appeared on a TI-82 graphing calculator—the same device that could be found in any high school advanced math class throughout the 1990s and 2000s.
Jonathan Maier rewrote Drug Wars on his graphing calculator in 1993. Maier, then a high school sophomore, shared the game with his friends using a homemade cable that allowed him to connect his graphing calculator to his computer. From there it spread among his friends, and then throughout the whole school.
“I knew it was a hit when I walked by the math classroom and saw the teacher playing it alone on the contraption that displayed the calculator screen up on the overhead projector,” said Maier, in an email.
Maier explained that he was drawn to the game, like many of his peers, because of the forbidden nature of drug content at the time. It did not hurt that the game’s simplicity was easy to grasp for even the most casual players.
“All credit should go to the original programmer for conceiving the original brilliant game design in the DOS version,” said Maier, referencing Dell. “I ported a few other things and even made a few games of my own, but none became viral sensations.”
Maier was a mechanical engineering student at Georgia Tech when he learned that one of his former high school classmates had tweaked his original program, added his own name to it, and uploaded it to one of the primitive file-sharing sites that existed in the late 1990s.