1980 student game Rogue named a genre despite not being the first of its kind

Rogue · 1980: Michael Toy and Glenn Wichman created the 1980 student game Rogue, inspiring the roguelike genre.

Around 1982, the University of California, Santa Cruz (UCSC) sent Michael Toy away. His grades had been poor, and the school expelled him. Toy had spent his time there on something other than coursework, and the expulsion could not touch it. The dungeon game he had built on the campus computers was already running on Unix machines, and it kept running without him.

That game was Rogue, a dungeon crawling video game by Toy and his fellow student Glenn Wichman, with later contributions from Ken Arnold. They had started it around 1980 for Unix-based minicomputers, the shared machines of the day, and they released it as a freely distributed executable. Nobody paid for a copy, and nobody needed Toy's permission to run one. A program like that could keep spreading long after its author had lost his place at the school.

Rogue was not the first dungeon crawler to generate its levels by procedure and to make death permanent. Others had done both before it. Yet the roguelike genre took its name from this one game and not from any of its predecessors. The answer starts with a stairway that players could not reach.

The stairway nobody could reach

Toy and Wichman had played enough adventure games to know their flaw. Once a player solved one, the game had nothing left to offer, because it did not change between playthroughs. They wanted a dungeon that would be different every time someone sat down at the terminal.

So they started with two pieces: the display and the random generation of the dungeon. The screen was plain text. A period marked floor, a plus sign marked a door, and the vertical bar and the dash drew the walls. Out of those few keys came rooms a player could read at a glance.

Randomness alone did not hold up. Sometimes the generator dropped the stairway into a room that no player could ever reach, and a level that cannot be finished is not a game. Toy and Wichman needed a layout that guaranteed a way through. They settled on a grid of rooms three across and three down, like a tic-tac-toe board, with hallways joining the neighbors.

The machine pushed back too. The VAX-11, the minicomputer they worked on, ran out of memory before they could give the deeper monsters any cleverness. They took the cheaper route and made those monsters stronger rather than smarter. The descent would get harder, but the creatures would not learn anything.

The game still needed a name. Wichman picked Rogue. A Dungeons & Dragons party goes into the dark together, but this character went at it alone. The word was also short, and easy to type on a command line.

What it lacked was someone willing to play it, and to keep dying in it.

The save file that erased itself

Playtesters at UCSC sat down at the terminals and stared at a screen with almost nothing on it: periods, plus signs, a few letters. They filled the gaps themselves, turning those marks into corridors, rooms and threats. Then they kept dying.

Toy did not rush to soften that. He wanted players to learn to avoid death in the moment, not to memorize one winning sequence and replay it. Nobody planned permadeath, since it fell out of watching the playtesters. Wichman later gave the consequence a name: persistence.

The playtesters pushed back. A game had to be finished in one sitting, and a single run could take a long time, so they demanded a way to save. Toy added one. Then players found the loophole. They saved, walked into danger, and reloaded when it went badly.

Toy's answer was simple. The game erased the save file the moment a player reloaded it, so a save could carry a run across a break but never undo a death. Even the save command's caveat was written for the player who meant to save before a fight and restart if he lost.

The price looked steep, since death came often. Yet nobody dreaded starting over, because the dungeon was randomized and a new run showed new rooms. A scoreboard added a reason to keep trying by ranking how far each player had gotten.

Toy knocks on Arnold's door

Toy arrived at UC Berkeley in 1982 with a problem and went looking for the man who could solve it. Ken Arnold was the lead developer of curses, the library that let Rogue mimic a graphical display on a plain text terminal. Toy wanted to learn how it worked.

Arnold already had an opinion about the game. He had complained that Rogue updated the screen inefficiently through curses, and over a modem line the waste showed. Every needless redraw had to crawl down the wire to a player waiting at the far end.

So the complaint became a working partnership. Toy sat down with the man who understood the library from the inside, and Arnold helped him optimize the code. Once the screen stopped repainting more than it had to, the two kept going and added features. The tool was close at hand, too, since BSD Unix had included Arnold's curses library since around 1980.

Somewhere in that code sat the keys a player pressed to walk through the dungeon. The movement keys were h, j, k and l, the same ones that steered the cursor in the vi editor. A player who already knew vi could move through Rogue without learning anything new.

Arnold and Toy then wrote an official Berkeley guide to playing Rogue, and the guide named the goal plainly: return with the Amulet of Yendor.

What would happen to it once it started moving from machine to machine?

The tape that left the source behind

Rogue's next stop was the manual. In November 1980 the fourth Berkeley Software Distribution (BSD, the Berkeley flavor of Unix) listed it as one of 28 games, and that listing helped carry the game into the 1980s.

Tapes went out to campuses, and the game went with them. Many academic Unix developers freely shared programs and code, so a game that ran on one machine was soon running on the next. By 1983 the 4.2 BSD distribution was spreading across ARPANET, the research network that tied universities together. One fan was Ken Thompson of Bell Labs, a name that carried weight in Unix circles.

Yet the tape carried the game without its recipe. The 4.2 BSD release lacked Rogue's source code, because Toy and Arnold had taken it with them when they left UCB, the University of California, Berkeley. A player could run the dungeon, but nobody who received that tape could open it up and see how it was made.

The code stayed closed for years. Only in 1986, with 4.3 BSD, did Rogue's source go open under a BSD license. The game spread first, and the source came later.

Players could keep it, pass it along and argue over it, but they could not read it. Those who wanted more than Rogue offered, a different monster or a deeper dungeon, had to build it themselves.

Four friends and a leprechaun

Jay Fenlason and three friends sat down in 1982 with a dungeon they loved and no way to open it. Rogue's source was unreleased, so they could not copy it. They could only rebuild what they had seen on the screen and make it their own. They called the result Hack, and it was a new variation on Rogue rather than a clone.

The differences showed up in small, strange places. In Hack, a player who killed a leprechaun and ate the body was teleported to a random location. Nobody in Rogue's world had thought to reward a meal that way, and the quirk made the dungeon feel like it belonged to the people who built it.

Far from Fenlason's group, in Oklahoma, a University of Oklahoma student named Robert Koeneke faced the same locked door and made the same choice. His game was Moria. It borrowed the lone hero and the descent, then added something Rogue never had: a persistent town with six shops, waiting above the dungeon whenever the player returned.

Neither game stayed put. Hack became the basis for NetHack in 1987, and Angband grew out of Moria. Each new version was built by people who also had no source in front of them, only what the earlier game had shown.

Some players trace the line even further. Many credit Rogue's procedurally generated dungeons as an inspiration for Blizzard's Diablo. The link is only suspected, a credit nobody can prove, and it sits far downstream of a hobby project that never earned its author a cent.

To him, that growing audience looked like money.

The guild nobody had to pay for

Toy had heard what Zork's developers earned, and the number was in the millions. A free dungeon that half the Unix world already knew looked to him like the same kind of prize. He had met Jon Lane while working for Olivetti, the office-machine company, and that meeting gave him the idea of putting Rogue on commercial machines. Wichman rejoined the effort to handle graphics and the ports. A.I. Design, the outfit behind the project, called on Epyx in 1983 to market the game.

The audience Toy wanted had already gone elsewhere. By the time Epyx published Rogue, players could pick from several free versions, and none of them cost a dollar. The 1986 Atari ST and Amiga ports landed badly. Next to the free Hack and Larn, some thought they looked embarrassing.

Why the game stalled is a matter of suspicion. According to Wichman, rampant piracy sank it. The authors suspect something else: that gamers were put off by the character-set graphics, with letters and punctuation standing in for monsters and walls.

The guide that Toy and Arnold wrote at Berkeley still makes the offer in full. Whoever returns from the dungeon with the Amulet earns full guild membership. The player starts with an enchanted mace, a bow and arrows, and nothing else.

Nobody ever had to pay dues for that guild. The student who was thrown out of school wrote a rule that no one could undo, and a whole genre took its name from one lone character that Wichman called Rogue. That character is still walking down the stairs of a dungeon nobody has mapped, with a mace on its belt and a bow on its back.

Editorial graphic and headline text by Signal Titans.

Source: A Game That Never Saved Your Life: Toy, Wichman and Arnold's Rogue and the Dungeon That Made a Genre · archive.org · archive.org · Rogue for OS X download | SourceForge.net · The History of Rogue: Have @ You, You Deadly Zs · docs.freebsd.org

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *